swayidle
This commit is contained in:
parent
61110d9948
commit
9dac84c1bc
1 changed files with 3 additions and 1 deletions
|
@ -212,13 +212,15 @@
|
||||||
gsettings set org.gnome.desktop.interface font-name 'JetBrains Regular Nerd'
|
gsettings set org.gnome.desktop.interface font-name 'JetBrains Regular Nerd'
|
||||||
|
|
||||||
|
|
||||||
polkit-kde-authentication-agent-1
|
|
||||||
swww init &
|
swww init &
|
||||||
# Sets a random wallpaper
|
# Sets a random wallpaper
|
||||||
WALLPAPER_DIR=/etc/nixos/git/desktops/wallpapers/gruvbox
|
WALLPAPER_DIR=/etc/nixos/git/desktops/wallpapers/gruvbox
|
||||||
swww img $WALLPAPER_DIR/wallpaper$((1 + $RANDOM % $(ls $WALLPAPER_DIR | wc -l))).jpg &
|
swww img $WALLPAPER_DIR/wallpaper$((1 + $RANDOM % $(ls $WALLPAPER_DIR | wc -l))).jpg &
|
||||||
# nm-applet --indicator &
|
# nm-applet --indicator &
|
||||||
waybar &
|
waybar &
|
||||||
|
|
||||||
|
# Set up the idle management daemon
|
||||||
|
swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock -f -c 000000'
|
||||||
mako
|
mako
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue