diff options
| author | Robert Günzler <r@gnzler.io> | 2021-05-31 16:45:23 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-05-31 16:45:23 +0200 |
| commit | 2c62ab9f8f38dbb0b2b0ea9fcb18f4cb6374287a (patch) | |
| tree | 4f3b7dd535be81b560c87aa2ec7e6811a8d2c52c | |
| parent | f9a2f1f9b6bb223dd1f52cf78392c2dd640730f3 (diff) | |
sway: drop some binds, add firefox shortcut
| -rw-r--r-- | .config/sway/auto.conf | 10 | ||||
| -rw-r--r-- | .config/sway/binds.conf | 24 |
2 files changed, 12 insertions, 22 deletions
diff --git a/.config/sway/auto.conf b/.config/sway/auto.conf index 043d0ad..ca7b85a 100644 --- a/.config/sway/auto.conf +++ b/.config/sway/auto.conf @@ -16,10 +16,14 @@ for_window [class="balena-etcher-electron"] floating enable; border normal for_window [app_id="firefox.*" title="Picture-in-Picture"] floating enable, sticky enable, border none for_window [app_id="firefox.*" title="^Developer Tools"] floating enable -for_window [app_id="firefox.*" title="Sharing Indicator$"] floating enable, border none, sticky enable; exec centercon -w 0.025 lm +for_window [app_id="firefox.*" title="Sharing Indicator$"] floating enable, border none, sticky enable; exec centercon 1 tr; focus mode_toggle for_window [app_id="firefox.*" title="^Close tabs?"] floating enable -for_window [app_id="firefox.*" title="^File Upload$"] exec centercon -w .6 -for_window [app_id="firefox.*" title="^Save As$"] exec centercon -w .6 +for_window [app_id="firefox.*" title="^File Upload$"] floating enable +# exec centercon -w .6 +for_window [app_id="firefox.*" title="^Save As$"] floating enable +# exec centercon -w .6 +for_window [app_id="firefox.*" title="^Open Firefox in Troubleshoot Mode?$"] floating enable + for_window [app_id="Telegram" title="^Choose Files$"] floating enable; exec centercon -w .6 for_window [app_id="obs" title="^Local File$"] floating enable; exec centercon -w .6 diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf index a4cd7ad..7800cd9 100644 --- a/.config/sway/binds.conf +++ b/.config/sway/binds.conf @@ -5,7 +5,7 @@ bindsym $mod+Return exec $term bindsym $mod+Shift+Return exec $floating_term # bindsym $mod+b exec pkill -USR1 waybar # bindsym $mod+w exec $firefox -# bindsym $mod+Shift+w exec $firefox --private-window +bindsym $mod+w exec firefox --private-window # kill focused window bindsym $mod+Shift+q kill @@ -70,14 +70,14 @@ bindsym $mod+Shift+$right move right bindsym $mod+Next focus child bindsym $mod+Prior focus parent -bindsym $mod+Escape [urgent="latest"] focus +bindsym $mod+Delete [urgent="latest"] focus # }}} # Workspaces {{{ # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. -bindsym $mod+Shift+comma workspace prev -bindsym $mod+Shift+period workspace next +# bindsym $mod+Shift+comma workspace prev +# bindsym $mod+Shift+period workspace next # switch to workspace bindsym $mod+1 workspace $ws1 bindsym $mod+2 workspace $ws2 @@ -116,23 +116,9 @@ bindsym $mod+Ctrl+$right move workspace to output right # Layout stuff {{{ bindsym $mod+Minus splitv -bindsym $mod+Backslash splith -# bindsym $mod+Bracketleft splitv -# bindsym $mod+Bracketright splith +bindsym $mod+Equal splith bindsym $mod+g layout toggle split -# mode "swap" { -# bindsym $left move left ; focus right ; mode "default" -# bindsym $down move down ; focus up ; mode "default" -# bindsym $up move up ; focus down ; mode "default" -# bindsym $right move right ; focus left ; mode "default" - -# # return to default mode -# bindsym Return mode "default" -# bindsym Escape mode "default" -# } -# bindsym $mod+i mode "swap" - # Make the current focus fullscreen bindsym $mod+f fullscreen bindsym $mod+Shift+f fullscreen global |