mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
first commit
This commit is contained in:
9
home/.config/fish/functions/night_mode_toggle.fish
Normal file
9
home/.config/fish/functions/night_mode_toggle.fish
Normal file
@@ -0,0 +1,9 @@
|
||||
function night_mode_toggle
|
||||
set target_process "gammastep"
|
||||
|
||||
if pgrep $target_process > /dev/null
|
||||
killall -s SIGINT .gammastep-wrap
|
||||
else
|
||||
gammastep
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user