From ce6bdfdbe1db0dd1bf0a4f4576eaab211bdb6b2d Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 8 Apr 2023 20:15:30 +0530 Subject: [PATCH] remove separate colors file --- home/wm/addon/waybar/colors.css | 12 ------------ home/wm/addon/waybar/default.nix | 1 - home/wm/addon/waybar/style.css | 12 +++++++++++- 3 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 home/wm/addon/waybar/colors.css diff --git a/home/wm/addon/waybar/colors.css b/home/wm/addon/waybar/colors.css deleted file mode 100644 index be22e66..0000000 --- a/home/wm/addon/waybar/colors.css +++ /dev/null @@ -1,12 +0,0 @@ -@define-color background #282a36; -@define-color foreground #f8f8f2; -@define-color selection #44475a; -@define-color unfocused #6272a4; -@define-color red #ff5555; -@define-color green #50fa7b; -@define-color yellow #f1fa8c; -@define-color cyan #8be9fd; -@define-color purple #bd93f9; -@define-color pink #ff79c6; -@define-color orange #ffb86c; - diff --git a/home/wm/addon/waybar/default.nix b/home/wm/addon/waybar/default.nix index be45e81..abe9bfe 100644 --- a/home/wm/addon/waybar/default.nix +++ b/home/wm/addon/waybar/default.nix @@ -1,5 +1,4 @@ { config, pkgs, ... }: { - xdg.configFile."waybar/colors.css".source = ./colors.css; programs.waybar = { enable = true; package = pkgs.waybar.overrideAttrs (oldAttrs: { diff --git a/home/wm/addon/waybar/style.css b/home/wm/addon/waybar/style.css index 2a7e1f4..be08a39 100644 --- a/home/wm/addon/waybar/style.css +++ b/home/wm/addon/waybar/style.css @@ -1,4 +1,14 @@ -@import "colors.css"; +@define-color background #282a36; +@define-color foreground #f8f8f2; +@define-color selection #44475a; +@define-color unfocused #6272a4; +@define-color red #ff5555; +@define-color green #50fa7b; +@define-color yellow #f1fa8c; +@define-color cyan #8be9fd; +@define-color purple #bd93f9; +@define-color pink #ff79c6; +@define-color orange #ffb86c; * { border: none;