From 2aa313accef75fdfb4ed003af3030edcc6277d99 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Tue, 22 Dec 2020 14:11:55 -0700 Subject: Separate colors from main config --- .config/polybar/colors.ini | 21 +++++++++++++++++++++ .config/polybar/config | 25 +++---------------------- 2 files changed, 24 insertions(+), 22 deletions(-) create mode 100644 .config/polybar/colors.ini 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 -- cgit v1.2.3-54-g00ecf