adds more touchpad-gestures and minor fixes

This commit is contained in:
xesc 2023-12-30 01:19:33 +01:00
parent fc54a64b03
commit d550774832

25
config
View file

@ -64,7 +64,8 @@ scratchpad_minimize disable
# #
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill #output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg /home/"$USER"/pictures/wallpaper/voidwallpaper.png fill #output * bg /home/"$USER"/pictures/wallpaper/voidwallpaper.png fill
output * bg /home/"$USER"/pictures/wallpaper/underwater.png fill
# #
# Example configuration: # Example configuration:
# #
@ -116,8 +117,10 @@ input "type:keyboard" {
input "type:touchpad" { input "type:touchpad" {
dwt enabled dwt enabled
tap enabled tap enabled
drag enabled
natural_scroll disabled natural_scroll disabled
middle_emulation enabled middle_emulation enabled
click_method clickfinger
} }
### Key bindings ### Key bindings
@ -289,9 +292,23 @@ bindsym XF86MonBrightnessUp exec brillo -A 2
bindsym $mod+Ctrl+Backspace exec wlogout -p layer-shell bindsym $mod+Ctrl+Backspace exec wlogout -p layer-shell
bindsym $mod+Delete exec wlogout -p layer-shell bindsym $mod+Delete exec wlogout -p layer-shell
bindgesture swipe:right workspace next # Touchpad thingies
bindgesture swipe:left workspace prev bindgesture swipe:4:left workspace prev_on_output
bindgesture swipe:4:right workspace next_on_output
bindgesture swipe:3:left workspace prev
bindgesture swipe:3:right workspace next
bindgesture pinch:outward fullscreen enable
bindgesture pinch:inward fullscreen disable
bindgesture pinch:4:outward floating disable
bindgesture pinch:4:inward floating enable
bindgesture swipe:3:up move scratchpad
bindgesture swipe:3:down scratchpad show, floating toggle
# General settings
font pango:Hack\ Nerd\ Font 0 font pango:Hack\ Nerd\ Font 0
gaps inner 10 gaps inner 10
default_border pixel 2 default_border pixel 2
@ -320,7 +337,7 @@ xwayland disable
# } # }
#} #}
for_window [app_id=signal] floating enable #for_window [app_id=signal] floating enable
include /etc/sway/config.d/* include /etc/sway/config.d/*
exec pipewire exec pipewire