test
This commit is contained in:
parent
203fc46e91
commit
0c0a9738cd
1 changed files with 8 additions and 0 deletions
|
@ -252,12 +252,15 @@
|
|||
# https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
|
||||
|
||||
echo "sww init"
|
||||
# Set the wallpaper
|
||||
swww init &
|
||||
|
||||
echo "waybar"
|
||||
# Waybar
|
||||
waybar &
|
||||
|
||||
echo "swayidle"
|
||||
# Set up the idle management daemon
|
||||
swayidle -w \
|
||||
timeout 120 'swaylock -f && playerctl pause' \
|
||||
|
@ -267,15 +270,20 @@
|
|||
before-sleep 'swaylock -f' \
|
||||
before-sleep 'playerctl pause'
|
||||
|
||||
echo "udiskie"
|
||||
# Automatic device mounting
|
||||
udiskie &
|
||||
|
||||
echo "sww clear and set up img"
|
||||
swww clear
|
||||
DIR=/etc/nixos/git/wallpapers/${theme}
|
||||
IMG=`ls $DIR | shuf -n 1` && swww img $DIR/$IMG -t random
|
||||
echo "Selected: $DIR/$IMG"
|
||||
|
||||
echo "mako init"
|
||||
# Notification listener
|
||||
mako
|
||||
echo "done"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue