make alacritty switch colors
This commit is contained in:
parent
4d412a1613
commit
d3e917fa09
6 changed files with 125 additions and 51 deletions
|
|
@ -124,9 +124,11 @@ function color_scheme
|
|||
case $options[1]
|
||||
niri msg action do-screen-transition
|
||||
dconf write /org/gnome/desktop/interface/color-scheme \'prefer-light\'
|
||||
command alacritty msg config -w -1 (cat /home/never/.config/alacritty/gruvbox-light.toml)
|
||||
case $options[2]
|
||||
niri msg action do-screen-transition
|
||||
dconf write /org/gnome/desktop/interface/color-scheme \'prefer-dark\'
|
||||
command alacritty msg config -w -1 (cat /home/never/.config/alacritty/gruvbox-dark.toml)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue