summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-22 14:11:55 -0700
committerDavid Luevano Alvarado <55825613+luevano@users.noreply.github.com>2020-12-22 14:11:55 -0700
commit2aa313accef75fdfb4ed003af3030edcc6277d99 (patch)
tree97c5770dff2bf0bf4d4d197676e5c92ab8bdf10d /.config
parent06b9850be0c429161b741c01100f948b9e638dce (diff)
Separate colors from main config
Diffstat (limited to '.config')
-rw-r--r--.config/polybar/colors.ini21
-rw-r--r--.config/polybar/config25
2 files changed, 24 insertions, 22 deletions
diff --git a/.config/polybar/colors.ini b/.config/polybar/colors.ini
new file mode 100644
index 0000000..6d58aa2
--- /dev/null
+++ b/.config/polybar/colors.ini
@@ -0,0 +1,21 @@
+[colors]
+foreground = ${xrdb:foreground:#F8F8F2}
+background = ${xrdb:background:#282A36}
+foreground-alt = ${xrdb:selbackground:#000000}
+background-alt = ${xrdb:selbackground:#F1FA8C}
+black = ${xrdb:color0:#000000}
+black-alt = ${xrdb:color8:#4D4D4D}
+red = ${xrdb:color1:#FF5555}
+red-alt = ${xrdb:color9:#FF6E67}
+green = ${xrdb:color2:#50FA7B}
+green-alt = ${xrdb:color10:#5AF78E}
+yellow = ${xrdb:color3:#F1FA8C}
+yellow-alt = ${xrdb:color11:#F4F99D}
+blue = ${xrdb:color4:#BD93F9}
+blue-alt = ${xrdb:color12:#CAA9FA}
+purple = ${xrdb:color5:#FF79C6}
+purple-alt = ${xrdb:color13:#FF92D0}
+cyan = ${xrdb:color6:#8BE9FD}
+cyan-alt = ${xrdb:color14:#9AEDFE}
+white = ${xrdb:color7:#BFBFBF}
+white-alt = ${xrdb:color15:#E6E6E6}
diff --git a/.config/polybar/config b/.config/polybar/config
index 2833c9c..b0214b7 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -1,26 +1,4 @@
# vim:ft=dosini
-[colors]
-foreground = ${xrdb:foreground:#F8F8F2}
-background = ${xrdb:background:#282A36}
-foreground-alt = ${xrdb:selbackground:#000000}
-background-alt = ${xrdb:selbackground:#F1FA8C}
-black = ${xrdb:color0:#000000}
-black-alt = ${xrdb:color8:#4D4D4D}
-red = ${xrdb:color1:#FF5555}
-red-alt = ${xrdb:color9:#FF6E67}
-green = ${xrdb:color2:#50FA7B}
-green-alt = ${xrdb:color10:#5AF78E}
-yellow = ${xrdb:color3:#F1FA8C}
-yellow-alt = ${xrdb:color11:#F4F99D}
-blue = ${xrdb:color4:#BD93F9}
-blue-alt = ${xrdb:color12:#CAA9FA}
-purple = ${xrdb:color5:#FF79C6}
-purple-alt = ${xrdb:color13:#FF92D0}
-cyan = ${xrdb:color6:#8BE9FD}
-cyan-alt = ${xrdb:color14:#9AEDFE}
-white = ${xrdb:color7:#BFBFBF}
-white-alt = ${xrdb:color15:#E6E6E6}
-
[settings]
screenchange-reload = true
# compositing-background = xor
@@ -33,6 +11,9 @@ screenchange-reload = true
margin-top = 24
margin-bottom = 0
+# Include colors.
+include-file = /home/lz/.config/polybar/colors.ini
+
# Include bars.
include-file = /home/lz/.config/polybar/common.ini
include-file = /home/lz/.config/polybar/main.ini