Update sway background stuff & add suspend
This commit is contained in:
parent
87a96e1bc1
commit
11a0f4be10
5 changed files with 3 additions and 16 deletions
|
@ -20,15 +20,3 @@ while [ "$(echo $outputs | jq -r .[$i])" != "null" ]; do
|
||||||
generate $height $width
|
generate $height $width
|
||||||
((i++))
|
((i++))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
sway/backgrounds/background.png
Normal file
BIN
sway/backgrounds/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
BIN
sway/backgrounds/logo.png
Normal file
BIN
sway/backgrounds/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -26,13 +26,14 @@ for_window [window_role="task_dialog"] floating enable
|
||||||
|
|
||||||
# shutdown / restart / suspend...
|
# shutdown / restart / suspend...
|
||||||
set $lockwall "swaylock -i ~/.config/sway/backgrounds/widthxheight.png"
|
set $lockwall "swaylock -i ~/.config/sway/backgrounds/widthxheight.png"
|
||||||
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown
|
set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown, (u) suspend
|
||||||
|
|
||||||
mode "$mode_system" {
|
mode "$mode_system" {
|
||||||
bindsym l exec --no-startup-id $lockwall, mode "default"
|
bindsym l exec --no-startup-id $lockwall, mode "default"
|
||||||
bindsym e exec --no-startup-id swaymsg exit, mode "default"
|
bindsym e exec --no-startup-id swaymsg exit, mode "default"
|
||||||
bindsym r exec --no-startup-id reboot, mode "default"
|
bindsym r exec --no-startup-id reboot, mode "default"
|
||||||
bindsym s exec --no-startup-id shutdown now, mode "default"
|
bindsym s exec --no-startup-id shutdown now, mode "default"
|
||||||
|
bindsym u exec --no-startup-id "swaylock -i ~/.config/sway/backgrounds/2560x1440.png -f; systemctl suspend", mode "default"
|
||||||
|
|
||||||
# back to normal: Enter or Escape
|
# back to normal: Enter or Escape
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
|
|
|
@ -2,6 +2,4 @@ output "Acer Technologies EK271U E 14160766B3W01" mode 2560x1440@100hz adaptive_
|
||||||
output "Hewlett Packard HP ZR22w CN41250H24" transform 270
|
output "Hewlett Packard HP ZR22w CN41250H24" transform 270
|
||||||
output "AU Optronics 0x463D" mode 1920x1080@60hz
|
output "AU Optronics 0x463D" mode 1920x1080@60hz
|
||||||
|
|
||||||
output "Acer Technologies EK271U E 14160766B3W01" bg ~/.config/sway/backgrounds/2560x1440.png fill
|
output * bg ~/bg-generation/logo.png center #1E1E2E
|
||||||
output "Hewlett Packard HP ZR22w CN41250H24" bg ~/.config/sway/backgrounds/1080x1920.png fill
|
|
||||||
output "AU Optronics 0x463D" bg ~/.config/sway/backgrounds/1920x1080.png fill
|
|
||||||
|
|
Loading…
Reference in a new issue