2024-12-12 16:51 : id 413

This commit is contained in:
deadvey 2024-12-12 16:51:21 +00:00
parent 4f4b02b05c
commit 36a7af8e40

View File

@ -120,8 +120,10 @@ in
run_a_command() {
if [[ "$light" == "DAY" ]]; then
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "light"/' $HOME/.config/home/home.nix
home-manager switch
else
notify-send "night"
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "dark"/' $HOME/.config/home/home.nix
home-manager switch
fi
};
#!/bin/bash