Compare commits

...

2 Commits

Author SHA1 Message Date
7f7d3cc850 chore(sway): handle resize events with mod key 2025-07-14 10:46:36 +02:00
044653ab1a chore(waybar): handle click event on sway mode 2025-07-14 10:45:06 +02:00
2 changed files with 6 additions and 5 deletions

View File

@@ -214,13 +214,13 @@ bindsym $mod+r mode "Resize"
mode "Resize" { mode "Resize" {
# left will shrink the containers width # left will shrink the containers width
bindsym $left resize shrink width 10px bindsym $mod+$left resize shrink width 10px
# right will grow the containers width # right will grow the containers width
bindsym $right resize grow width 10px bindsym $mod+$right resize grow width 10px
# up will shrink the containers height # up will shrink the containers height
bindsym $up resize shrink height 10px bindsym $mod+$up resize shrink height 10px
# down will grow the containers height # down will grow the containers height
bindsym $down resize grow height 10px bindsym $mod+$down resize grow height 10px
# Return to default mode # Return to default mode
bindsym Escape mode "default" bindsym Escape mode "default"

View File

@@ -53,7 +53,8 @@
} }
}, },
"sway/mode": { "sway/mode": {
"format": "{}" "format": "{}",
"on-click": "sway mode default"
}, },
"hyprland/workspaces": { "hyprland/workspaces": {
"format": "{name} {icon}", "format": "{name} {icon}",