sway: update config
This commit is contained in:
parent
ebab4c73e6
commit
3b0e2b176c
1 changed files with 5 additions and 5 deletions
10
config
10
config
|
@ -66,10 +66,10 @@ output * bg $background fill
|
|||
# 30 min suspend on battery
|
||||
# 120 min suspend
|
||||
exec swayidle -w \
|
||||
timeout 600 '$lock_cmd off' \
|
||||
timeout 1800 '$lock_cmd off' \
|
||||
resume '$lock_cmd on' \
|
||||
timeout 900 '$lock_cmd lockonly' \
|
||||
timeout 1800 '$suspend_cmd suspend' \
|
||||
timeout 2700 '$lock_cmd lockonly' \
|
||||
timeout 3600 '$suspend_cmd suspend' \
|
||||
timeout 7200 '$suspend_cmd force' \
|
||||
before-sleep '$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
|
||||
# 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="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="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="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 x; floating enable; resize set width 1200; resize set height 700; move scratchpad
|
||||
# matlab workaround
|
||||
no_focus [class="MATLAB R2021a" instance="sun-awt-X11-XDialogPeer"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue