From 4a9e7f32d7e332c990b7f9fd501afc40e3ad1032 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Thu, 3 Sep 2020 00:34:42 -0400 Subject: [PATCH] Extracted out color constants to prevent repeating myself. Extracted out color constants to prevent repeating myself. --- sway/config.d/ui.config | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/sway/config.d/ui.config b/sway/config.d/ui.config index 1dbbbd3..425cdca 100644 --- a/sway/config.d/ui.config +++ b/sway/config.d/ui.config @@ -1,6 +1,12 @@ ################################################################################ # UI tweaks +set $focus_bg #12e689 +set $urgent_bg #ff4551 +set $inactive_bg #161720 +set $light_fg #1f212e +set $dark_fg #aab5c6 + ### Font stuff font pango:Fira Code 10 @@ -9,11 +15,11 @@ gaps inner 5 gaps outer 2 ### Colors -# class border backgr text indicator child_border -client.focused #12e689 #12e689 #1f212e #12e689 #12e689 -client.focused_inactive #1f212e #1f212e #aab5c6 #1f212e #1f212e -client.unfocused #161720 #161720 #aab5c6 #161720 #161720 -client.urgent #ff4551 #ff4551 #1f212e #ff4551 #ff4551 +# class border backgr text indicator child_border +client.focused $focus_bg $focus_bg $light_fg $focus_bg $focus_bg +client.focused_inactive $inactive_bg $inactive_bg $dark_fg $inactive_bg $inactive_bg +client.unfocused $inactive_bg $inactive_bg $dark_fg $inactive_bg $inactive_bg +client.urgent $urgent_bg $urgent_bg $light_fg $urgent_bg $urgent_bg # GTK 3 settings # See https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland for more info.