add MacAir 7,2 swayfx config, changed swaybar to work well with this mac low resolution, added swayidle directly into sway's config

This commit is contained in:
toniiz
2024-06-17 18:33:36 -07:00
parent c099274ca5
commit c7d41fd81a
4 changed files with 243 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Times the screen off and puts it to background
swayidle \
timeout 10 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' &
# Locks the screen immediately
swaylock -c 550000
# Kills last background task so idle timer doesn't keep running
kill %%