1
0
Fork 0

Update work screen

main
Ambrose Chua 2024-03-01 12:34:18 +08:00
parent f56a8761df
commit 8801737f2f
No known key found for this signature in database
GPG Key ID: 36C99AADD44C83D2
2 changed files with 13 additions and 11 deletions

View File

@ -52,16 +52,18 @@ set $dpms_on 'swaymsg "output * dpms on"'
set $dpms_off 'swaymsg "output * dpms off"'
exec swayidle -w \
lock $swaylock \
timeout 10 '' \
resume $dpms_on \
timeout 300 $dpms_off \
resume $dpms_on \
timeout 360 $swaylock \
resume $dpms_on \
timeout 1200 'systemctl suspend' \
after-resume $dpms_on
bindsym $mod+Pause exec $swaylock
bindsym XF86ScreenSaver exec $swaylock; exec $dpms_off
bindsym $mod+Shift+Ctrl+p exec $swaylock; exec $dpms_off
after-resume $dpms_on
set $cmd_lock exec $swaylock
set $cmd_sleep exec $swaylock; exec sh -c 'sleep 1 && killall -USR1 swayidle'
bindsym $mod+Shift+o $cmd_lock
bindsym XF86ScreenSaver $cmd_lock
bindsym $mod+Shift+p $cmd_sleep
bindsym XF86Sleep $cmd_sleep
### Input configuration
#

View File

@ -6,11 +6,11 @@ set $output_secondary "Dell Inc. DELL P2317H F4VYG7561H1S"
set $output_laptop "Unknown 0x573D 0x00000000"
set $output_tv "Unknown Beyond TV 0x00000100"
set $output_home "Unknown W280 Ultra 0000000000000"
output $output_primary position 1080 0 transform 90
output $output_secondary position 0 0 transform 270
output $output_laptop position 2160 420 transform 0 scale 1
output $output_tv position 4080 320 mode --custom 2560x1440@60Hz
output $output_home position -1680 -512 mode 3840x2160@60Hz scale 1
output $output_primary position 2760 120 transform 90
output $output_secondary position 1680 120 transform 270
output $output_laptop position 3840 540 transform 0 scale 1
output $output_tv position 5760 360 mode --custom 2560x1440@60Hz
output $output_home position 0 0 mode 3840x2160@60Hz scale 1
bindsym $mod+Shift+F4 output $output_primary transform 90 clockwise
bindsym $mod+F4 output $output_primary transform 90 anticlockwise