From 3b0e2b176cbd5a8824eee7723b1095c2345b7604 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Sat, 23 Oct 2021 22:05:21 +0200 Subject: [PATCH] sway: update config --- config | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config b/config index 4bb87f9..303e72e 100644 --- a/config +++ b/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"]