vitorpy's Dotfiles

Add gesture support to Sway and fix double waybar issue

Changes:
- Added libinput-gestures config for 3-finger swipe gestures
- Added libinput-gestures to Sway autostart
- Added libinput-gestures to packages.txt
- Fixed double waybar issue by removing redundant bar block

Gestures configured:
- 3-finger swipe left/right: switch workspaces
- 3-finger swipe up: reserved for workspace overview (if available)

+13 -6
+10
private_dot_config/libinput-gestures.conf
··· 1 + # libinput-gestures configuration for Sway 2 + # Minimal gesture support 3 + 4 + # 3-finger horizontal swipe: switch workspaces 5 + gesture swipe right 3 swaymsg workspace prev 6 + gesture swipe left 3 swaymsg workspace next 7 + 8 + # 3-finger up: workspace overview (Sway doesn't have built-in expo view) 9 + # Uncomment if you install a workspace switcher like swayr 10 + # gesture swipe up 3 swayr switch-workspace
+1
private_dot_config/private_arch/packages.txt
··· 60 60 swaylock-fprintd-git | aur 61 61 swaybg | pacman 62 62 xdg-desktop-portal-wlr | pacman 63 + libinput-gestures | aur 63 64 64 65 # Note: hyprcorners needs to be installed via cargo: 65 66 # cargo install hyprcorners
+2 -6
private_dot_config/private_sway/config
··· 245 245 exec --no-startup-id dbus-update-activation-environment --all 246 246 exec --no-startup-id gnome-keyring-daemon --start --components=secrets,ssh,pkcs11 247 247 exec --no-startup-id nm-applet --indicator 248 + exec --no-startup-id libinput-gestures 248 249 249 250 # XDG Desktop Portal (for screen sharing, etc.) 250 251 exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway 251 252 252 - # Bar (using waybar - comment out if you want sway's built-in bar) 253 - bar { 254 - swaybar_command waybar 255 - } 256 - 257 - # Alternative: Sway's built-in bar (uncomment to use) 253 + # Alternative: Sway's built-in bar (uncomment if you want to replace waybar) 258 254 # bar { 259 255 # position top 260 256 # status_command while date +'%Y-%m-%d %H:%M:%S %p'; do sleep 1; done