2024-12-12 16:51 : id 413
This commit is contained in:
parent
4f4b02b05c
commit
36a7af8e40
@ -120,8 +120,10 @@ in
|
|||||||
run_a_command() {
|
run_a_command() {
|
||||||
if [[ "$light" == "DAY" ]]; then
|
if [[ "$light" == "DAY" ]]; then
|
||||||
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "light"/' $HOME/.config/home/home.nix
|
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "light"/' $HOME/.config/home/home.nix
|
||||||
|
home-manager switch
|
||||||
else
|
else
|
||||||
notify-send "night"
|
sed -i 's/MODE\ =\ ".*"/MODE\ =\ "dark"/' $HOME/.config/home/home.nix
|
||||||
|
home-manager switch
|
||||||
fi
|
fi
|
||||||
};
|
};
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user