From ad1edb5996ca407768c849e7f971f570a6c33c34 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 2 Nov 2021 18:05:48 +0100 Subject: sway: split out colors --- .config/sway/colors.conf | 19 +++++++++++++++++++ .config/sway/colors.conf.in | 19 +++++++++++++++++++ .config/sway/config | 20 +------------------- 3 files changed, 39 insertions(+), 19 deletions(-) create mode 100644 .config/sway/colors.conf create mode 100644 .config/sway/colors.conf.in 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 -- cgit 1.4.1