feat(sway): lightmode
This commit is contained in:
parent
18902b41c3
commit
a4bff2a186
2 changed files with 51 additions and 40 deletions
|
@ -1,15 +1,33 @@
|
||||||
|
# colors
|
||||||
|
set $black #000000
|
||||||
|
set $red #e75544
|
||||||
|
set $cyan #3c74f6
|
||||||
|
set $white #fafafa
|
||||||
|
set $yellow #908550
|
||||||
|
set $violet #a73ca6
|
||||||
|
#set $black2 #323232
|
||||||
|
set $white2 #f0f0f0
|
||||||
|
|
||||||
# config
|
# config
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
set $left h
|
set $left h
|
||||||
set $down j
|
set $down j
|
||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
set $term alacritty
|
set $term wezterm
|
||||||
set $wallpaper /home/stefan/wall.png
|
set $wallpaper /home/stefan/wall.png
|
||||||
set $lock swaylock -t -i $wallpaper --scaling=fill
|
set $lock swaylock -t -i $wallpaper --scaling=fill
|
||||||
set $font CaskaydiaCove Nerd Font 10
|
set $font CaskaydiaCove Nerd Font 10
|
||||||
set $menucolor --ff=#f8f8f2 --nf=#f8f8f2 --tf=#bd93f9 --hf=#bd93f9 --tb=#282a36 --fb=#282a36 --nb=#282a36 --hb=#282a36 --sb=#282a36
|
set $menucolor \
|
||||||
|
--tf=$white --tb=$cyan \
|
||||||
|
--ff=$black --fb=$white \
|
||||||
|
--cf=$cyan --cb=$white \
|
||||||
|
--nf=$black --nb=$white \
|
||||||
|
--af=$black --ab=$white2 \
|
||||||
|
--hf=$white --hb=$cyan \
|
||||||
|
--sf=$white --sb=$cyan
|
||||||
set $menu bemenu-run -H 23 -b -p run $menucolor
|
set $menu bemenu-run -H 23 -b -p run $menucolor
|
||||||
|
font $font
|
||||||
|
|
||||||
input "1:1:AT_Translated_Set_2_keyboard" xkb_layout de
|
input "1:1:AT_Translated_Set_2_keyboard" xkb_layout de
|
||||||
input "0:0:TUXEDO_Keyboard" xkb_layout de
|
input "0:0:TUXEDO_Keyboard" xkb_layout de
|
||||||
|
@ -45,23 +63,11 @@ for_window [title="Picture-in-Picture"] floating enable
|
||||||
for_window [title="pyCalc"] floating enable
|
for_window [title="pyCalc"] floating enable
|
||||||
for_window [title="insect"] floating enable
|
for_window [title="insect"] floating enable
|
||||||
|
|
||||||
# font
|
|
||||||
font $font
|
|
||||||
|
|
||||||
# colors
|
|
||||||
set $black #282a36
|
|
||||||
set $red #ff6188
|
|
||||||
set $cyan #78dce8
|
|
||||||
set $white #fcfcfa
|
|
||||||
set $yellow #f1fa8c
|
|
||||||
set $violet #bd93f9
|
|
||||||
set $black2 #323232
|
|
||||||
|
|
||||||
# border backgnd text indicator childborder
|
# border backgnd text indicator childborder
|
||||||
client.focused $violet $black $white $violet $violet
|
client.focused $cyan $white $black $violet $cyan
|
||||||
client.focused_inactive $black $black $white $black2 $black
|
client.focused_inactive $white2 $white2 $black $white2 $white
|
||||||
client.unfocused $black $black $white $black2 $black
|
client.unfocused $white2 $white2 $black $white2 $white
|
||||||
client.urgent $red $red $black $black2 $white
|
client.urgent $red $red $white $white2 $black
|
||||||
|
|
||||||
|
|
||||||
# movement
|
# movement
|
||||||
|
@ -135,30 +141,34 @@ bar {
|
||||||
font $font
|
font $font
|
||||||
position bottom
|
position bottom
|
||||||
colors {
|
colors {
|
||||||
background $black
|
background $white
|
||||||
statusline $white
|
statusline $black
|
||||||
separator $violet
|
separator $cyan
|
||||||
|
|
||||||
# border back text
|
# border back text
|
||||||
focused_workspace $violet $violet $black
|
focused_workspace $cyan $cyan $white
|
||||||
active_workspace $violet $violet $black
|
active_workspace $cyan $cyan $white
|
||||||
urgent_workspace $red $red $white
|
urgent_workspace $red $red $black
|
||||||
inactive_workspace $black $black $white
|
inactive_workspace $white $white $black
|
||||||
}
|
}
|
||||||
|
|
||||||
status_command i3status-rs /etc/sway/status.toml
|
status_command i3status-rs /etc/sway/status.toml
|
||||||
}
|
}
|
||||||
|
|
||||||
set $gnome-schema org.gnome.desktop.interface
|
set $gnome-schema org.gnome.desktop.interface
|
||||||
exec_always {
|
exec_always {
|
||||||
|
gsettings set $gnome-schema cursor-theme Adwaita
|
||||||
gsettings set $gnome-schema icon-theme 'capitaine-cursors-white'
|
gsettings set $gnome-schema icon-theme 'capitaine-cursors-white'
|
||||||
gsettings set $gnome-schema cursor-theme 'capitaine-cursors-white'
|
gsettings set $gnome-schema cursor-theme 'capitaine-cursors-white'
|
||||||
}
|
}
|
||||||
|
|
||||||
# autostarts
|
# autostarts
|
||||||
exec mako --font "$font" \
|
exec mako --font "$font" \
|
||||||
--background-color=$black \
|
--background-color "$white" \
|
||||||
--border-color=$violet \
|
--border-colo "$red" \
|
||||||
--text-color=$white
|
--text-color "$black" \
|
||||||
|
--default-timeout 1000 \
|
||||||
|
--padding 10
|
||||||
exec emacs --daemon
|
exec emacs --daemon
|
||||||
exec swayidle before-sleep "$lock"
|
exec swayidle before-sleep "$lock"
|
||||||
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
||||||
|
|
|
@ -1,20 +1,21 @@
|
||||||
[theme]
|
[theme]
|
||||||
name = "plain"
|
name = "plain"
|
||||||
[theme.overrides]
|
[theme.overrides]
|
||||||
idle_bg = "#282a36"
|
idle_bg = "#fafafa"
|
||||||
idle_fg = "#f8f8f2"
|
idle_fg = "#000000"
|
||||||
info_bg = "#282a36"
|
info_bg = "#fafafa"
|
||||||
info_fg = "#f8f8f2"
|
info_fg = "#000000"
|
||||||
good_bg = "#282a36"
|
good_bg = "#fafafa"
|
||||||
good_fg = "#50fa7b"
|
good_fg = "#000000"
|
||||||
warning_bg = "#282a36"
|
warning_bg = "#fafafa"
|
||||||
warning_fg = "#f1fa8c"
|
warning_fg = "#908550"
|
||||||
critical_bg = "#282a36"
|
critical_bg = "#fafafa"
|
||||||
critical_fg = "#ff5555"
|
critical_fg = "#e75544"
|
||||||
separator_bg = "#282a36"
|
separator_bg = "#fafafa"
|
||||||
separator_fg = "#bd93f9"
|
separator_fg = "#3c74f6"
|
||||||
separator = "|"
|
separator = "|"
|
||||||
|
|
||||||
|
|
||||||
[icons]
|
[icons]
|
||||||
name = "none"
|
name = "none"
|
||||||
[icons.overrides]
|
[icons.overrides]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue