Add signals to reload the st terminal in darkman scripts
This commit is contained in:
parent
6df372caad
commit
36a0e6b834
2 changed files with 10 additions and 0 deletions
6
ui.nix
6
ui.nix
|
|
@ -254,6 +254,9 @@ in
|
|||
ln -s ${alacrittyLightTheme} ~/.config/alacritty/colors.toml
|
||||
'';
|
||||
notify = "${pkgs.libnotify}/bin/notify-send \"Light mode\"";
|
||||
set-st-colors = ''
|
||||
kill -SIGUSR1 $(pgrep st) # reload st config
|
||||
'';
|
||||
};
|
||||
|
||||
darkModeScripts = {
|
||||
|
|
@ -279,6 +282,9 @@ in
|
|||
ln -s ${alacrittyDarkTheme} ~/.config/alacritty/colors.toml
|
||||
'';
|
||||
notify = "${pkgs.libnotify}/bin/notify-send \"Dark mode\"";
|
||||
set-st-colors = ''
|
||||
kill -SIGUSR1 $(pgrep st) # reload st config
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue