mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-04-05 07:46:23 +08:00
optimize autostart
This commit is contained in:
parent
189014264b
commit
86a9069ff6
2 changed files with 0 additions and 2 deletions
|
|
@ -28,7 +28,6 @@ let
|
|||
swww-daemon &
|
||||
clash-meta -d ~/.config/clash &
|
||||
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
|
||||
systemctl --user start waybar.service blueman-applet.service 'app-nm\\x2dapplet@autostart.service' app-org.fcitx.Fcitx5@autostart.service niri-blur-wallpaper.service
|
||||
'';
|
||||
};
|
||||
niri-blur-wallpaper = pkgs.writers.writePython3Bin "niri-blur-wallpaper" { doCheck = false; } ''
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ elif [ "$entry" = "mode" ]; then
|
|||
elif [ "$entry" = "exit" ]; then
|
||||
if [ "$(~/scripts/tofi/confirm "exit?")" = "yes" ]; then
|
||||
doas killall swhkd swhks
|
||||
systemctl --user stop waybar.service blueman-applet.service 'app-nm\\x2dapplet@autostart.service' app-org.fcitx.Fcitx5@autostart.service niri-blur-wallpaper.service
|
||||
wayland-logout
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue