feat(sway): lightmode

This commit is contained in:
Stefan Schwarz 2023-03-24 08:44:05 +01:00
parent 18902b41c3
commit a4bff2a186
2 changed files with 51 additions and 40 deletions

View file

@ -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
set $mod Mod1
set $left h
set $down j
set $up k
set $right l
set $term alacritty
set $term wezterm
set $wallpaper /home/stefan/wall.png
set $lock swaylock -t -i $wallpaper --scaling=fill
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
font $font
input "1:1:AT_Translated_Set_2_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="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
client.focused $violet $black $white $violet $violet
client.focused_inactive $black $black $white $black2 $black
client.unfocused $black $black $white $black2 $black
client.urgent $red $red $black $black2 $white
client.focused $cyan $white $black $violet $cyan
client.focused_inactive $white2 $white2 $black $white2 $white
client.unfocused $white2 $white2 $black $white2 $white
client.urgent $red $red $white $white2 $black
# movement
@ -135,30 +141,34 @@ bar {
font $font
position bottom
colors {
background $black
statusline $white
separator $violet
background $white
statusline $black
separator $cyan
# border back text
focused_workspace $violet $violet $black
active_workspace $violet $violet $black
urgent_workspace $red $red $white
inactive_workspace $black $black $white
focused_workspace $cyan $cyan $white
active_workspace $cyan $cyan $white
urgent_workspace $red $red $black
inactive_workspace $white $white $black
}
status_command i3status-rs /etc/sway/status.toml
}
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema cursor-theme Adwaita
gsettings set $gnome-schema icon-theme 'capitaine-cursors-white'
gsettings set $gnome-schema cursor-theme 'capitaine-cursors-white'
}
# autostarts
exec mako --font "$font" \
--background-color=$black \
--border-color=$violet \
--text-color=$white
--background-color "$white" \
--border-colo "$red" \
--text-color "$black" \
--default-timeout 1000 \
--padding 10
exec emacs --daemon
exec swayidle before-sleep "$lock"
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1

View file

@ -1,20 +1,21 @@
[theme]
name = "plain"
[theme.overrides]
idle_bg = "#282a36"
idle_fg = "#f8f8f2"
info_bg = "#282a36"
info_fg = "#f8f8f2"
good_bg = "#282a36"
good_fg = "#50fa7b"
warning_bg = "#282a36"
warning_fg = "#f1fa8c"
critical_bg = "#282a36"
critical_fg = "#ff5555"
separator_bg = "#282a36"
separator_fg = "#bd93f9"
idle_bg = "#fafafa"
idle_fg = "#000000"
info_bg = "#fafafa"
info_fg = "#000000"
good_bg = "#fafafa"
good_fg = "#000000"
warning_bg = "#fafafa"
warning_fg = "#908550"
critical_bg = "#fafafa"
critical_fg = "#e75544"
separator_bg = "#fafafa"
separator_fg = "#3c74f6"
separator = "|"
[icons]
name = "none"
[icons.overrides]