Move wayland scripts
This commit is contained in:
parent
07eac39788
commit
d3b14d2698
6 changed files with 1 additions and 1 deletions
12
home-manager/wayland/scripts/autostart
Executable file
12
home-manager/wayland/scripts/autostart
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Background
|
||||
swaybg -o '*' -i "$background" -m fill &
|
||||
|
||||
# Status Bar
|
||||
eww open "$platform"_bar --screen 0
|
||||
|
||||
# Idle Handler
|
||||
swayidle timeout 120 'swaylock -f --grace=180' \
|
||||
timeout 600 'systemctl suspend' \
|
||||
before-sleep 'swaylock -f' &
|
||||
Loading…
Add table
Add a link
Reference in a new issue