sway: update config

This commit is contained in:
Konstantin Koslowski 2021-10-23 22:05:21 +02:00
parent ebab4c73e6
commit 3b0e2b176c

10
config
View file

@ -66,10 +66,10 @@ output * bg $background fill
# 30 min suspend on battery # 30 min suspend on battery
# 120 min suspend # 120 min suspend
exec swayidle -w \ exec swayidle -w \
timeout 600 '$lock_cmd off' \ timeout 1800 '$lock_cmd off' \
resume '$lock_cmd on' \ resume '$lock_cmd on' \
timeout 900 '$lock_cmd lockonly' \ timeout 2700 '$lock_cmd lockonly' \
timeout 1800 '$suspend_cmd suspend' \ timeout 3600 '$suspend_cmd suspend' \
timeout 7200 '$suspend_cmd force' \ timeout 7200 '$suspend_cmd force' \
before-sleep '$lock_cmd lock' before-sleep '$lock_cmd lock'
bindsym $mod+Ctrl+Escape exec '$lock_cmd lock' bindsym $mod+Ctrl+Escape exec '$lock_cmd lock'
@ -302,8 +302,8 @@ for_window [title="bluetoothctl"] floating enable
for_window [title="fzf"] floating enable for_window [title="fzf"] floating enable
# scratchpad rules # scratchpad rules
for_window [class="Plexamp" window_type="normal"] exec sh -c "sleep 1"; mark s; floating enable; resize set width 1200; resize set height 700; move scratchpad for_window [class="Plexamp" window_type="normal"] exec sh -c "sleep 1"; mark s; floating enable; resize set width 1200; resize set height 700; move scratchpad
for_window [class="Ferdi" window_type="normal"] exec sh -c "sleep 1"; mark x; floating enable; resize set width 1200; resize set height 700; move scratchpad for_window [class="Ferdi" window_type="normal"] exec sh -c "sleep 1"; mark z; floating enable; resize set width 1200; resize set height 700; move scratchpad
for_window [class="Signal" window_type="normal"] exec sh -c "sleep 1"; mark c; floating enable; resize set width 1200; resize set height 700; move scratchpad for_window [class="Signal" window_type="normal"] exec sh -c "sleep 1"; mark x; floating enable; resize set width 1200; resize set height 700; move scratchpad
# matlab workaround # matlab workaround
no_focus [class="MATLAB R2021a" instance="sun-awt-X11-XDialogPeer"] no_focus [class="MATLAB R2021a" instance="sun-awt-X11-XDialogPeer"]