summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-11-02 18:05:48 +0100
committerRobert Günzler <r@gnzler.io>2021-11-02 19:06:50 +0100
commitad1edb5996ca407768c849e7f971f570a6c33c34 (patch)
treeb6e33e2e3ff2f25382a8a88f46830c3da9d24006
parente8c1307fe29198f1b8c070b49c4757954ad37e2e (diff)
sway: split out colors
-rw-r--r--.config/sway/colors.conf19
-rw-r--r--.config/sway/colors.conf.in19
-rw-r--r--.config/sway/config20
3 files changed, 39 insertions, 19 deletions
diff --git a/.config/sway/colors.conf b/.config/sway/colors.conf
new file mode 100644
index 0000000..e38a449
--- /dev/null
+++ b/.config/sway/colors.conf
@@ -0,0 +1,19 @@
+
+set $text #fffffb
+set $text2 #bdc0ba
+set $bg #1c1c1c
+set $bg2 #202020
+set $main  #70649a
+set $main2 #3c2f41
+
+set $urgent #9f353a
+set $urgent2 #854836
+set $indicator_focused #f7c242
+set $indicator_unfocused $bg
+
+client.focused $main $main $text $indicator_focused $main
+# client.focused_inactive $bg $bg $text2 $indicator_unfocused $bg
+client.focused_inactive $main2 $main2 $text2 $indicator_unfocused $main2
+client.unfocused $bg $bg $text2 $indicator_unfocused $bg
+# client.unfocused $main2 $main2 $text2 $indicator_unfocused $main2
+client.urgent $urgent2 $urgent $text $indicator_focused $urgent
diff --git a/.config/sway/colors.conf.in b/.config/sway/colors.conf.in
new file mode 100644
index 0000000..2027754
--- /dev/null
+++ b/.config/sway/colors.conf.in
@@ -0,0 +1,19 @@
+
+set $text {{ hex .gofun }}
+set $text2 {{ hex .shironezumi }}
+set $bg {{ hex .sumi }}
+set $bg2 {{ hex (lighter .sumi 0.2) }}
+set $main  {{ hex .futaai }}
+set $main2 {{ hex .shikon }}
+
+set $urgent {{ hex .enji }}
+set $urgent2 {{ hex .hiwada }}
+set $indicator_focused {{ hex .hanaba }}
+set $indicator_unfocused $bg
+
+client.focused $main $main $text $indicator_focused $main
+# client.focused_inactive $bg $bg $text2 $indicator_unfocused $bg
+client.focused_inactive $main2 $main2 $text2 $indicator_unfocused $main2
+client.unfocused $bg $bg $text2 $indicator_unfocused $bg
+# client.unfocused $main2 $main2 $text2 $indicator_unfocused $main2
+client.urgent $urgent2 $urgent $text $indicator_focused $urgent
diff --git a/.config/sway/config b/.config/sway/config
index affbfb6..f1a9eec 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -65,27 +65,9 @@ set $fat_bpix 5
 default_border pixel $bpix
 default_floating_border pixel $fat_bpix
 
-set $text #fffffb
-set $text2 #bdc0ba
-set $bg #1C1C1C
-set $bg2 #292929
-set $main  #4e4371
-set $main2 #2e2843
-
-set $urgent #9f353a
-set $urgent2 #662225
-# set $indicator $bg
-# set $indicator2 $bg
-set $indicator_focused $bg2
-set $indicator_unfocused $bg
-
-client.focused $main $main2 $text $indicator_focused $main
-client.focused_inactive $bg $bg $text2 $indicator_unfocused $bg
-client.unfocused $bg2 $bg $text2 $indicator_unfocused $bg
-client.urgent $urgent2 $urgent $text $indicator_focused $urgent
+include colors.conf
 # }}}
 
-
 exec {
 	light -S 80
   once -- s6-svscan ${HOME}/.local/share/s6