summary refs log tree commit diff
path: root/.config/sway/binds.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-04-22 13:15:37 +0200
committerRobert Günzler <r@gnzler.io>2021-04-26 02:09:48 +0200
commitd3497269ec01f89178b784169bdc53cbd16aafa2 (patch)
treeb13b8e7123d97f65335466d43f7a3db640d9ba01 /.config/sway/binds.conf
parent3f57eef6fb8a16c75b68453be7615678884a5116 (diff)
sway: update config
Diffstat (limited to '.config/sway/binds.conf')
-rw-r--r--.config/sway/binds.conf34
1 files changed, 18 insertions, 16 deletions
diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf
index 193ccd1..e7bab16 100644
--- a/.config/sway/binds.conf
+++ b/.config/sway/binds.conf
@@ -121,17 +121,17 @@ bindsym $mod+Backslash splith
 # bindsym $mod+Bracketright 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"
+# 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
@@ -189,8 +189,8 @@ bindsym $mod+backspace scratchpad show
 mode "resize" {
     set $rate 25
     bindsym $left resize shrink width $rate
-    bindsym $down resize grow height $rate
-    bindsym $up resize shrink height $rate
+    bindsym $down resize shrink height $rate
+    bindsym $up resize grow height $rate
     bindsym $right resize grow width $rate
 
     bindsym Shift+$down resize shrink width $rate; resize shrink height $rate
@@ -219,9 +219,11 @@ bindsym $mod+Shift+g mode "gaps"
 # }}}
 
 # Misc {{{
-bindsym $mod+Shift+x mark --toggle "x"
-bindsym $mod+x [con_mark="x"] focus
-bindsym $mod+Ctrl+x swap container with mark "x"
+bindsym $mod+i exec anthywl-toggle
+# bindsym $mod+Shift+x mark --toggle "x"
+# bindsym $mod+x [con_mark="x"] focus
+# bindsym $mod+Ctrl+x swap container with mark "x"
+
 
 # Media volume controls
 bindsym XF86AudioMute exec soundswitch -m