adds more touchpad-gestures and minor fixes
This commit is contained in:
parent
fc54a64b03
commit
d550774832
1 changed files with 21 additions and 4 deletions
25
config
25
config
|
@ -64,7 +64,8 @@ scratchpad_minimize disable
|
|||
#
|
||||
# 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 /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:
|
||||
#
|
||||
|
@ -116,8 +117,10 @@ input "type:keyboard" {
|
|||
input "type:touchpad" {
|
||||
dwt enabled
|
||||
tap enabled
|
||||
drag enabled
|
||||
natural_scroll disabled
|
||||
middle_emulation enabled
|
||||
click_method clickfinger
|
||||
}
|
||||
|
||||
### Key bindings
|
||||
|
@ -289,9 +292,23 @@ bindsym XF86MonBrightnessUp exec brillo -A 2
|
|||
bindsym $mod+Ctrl+Backspace exec wlogout -p layer-shell
|
||||
bindsym $mod+Delete exec wlogout -p layer-shell
|
||||
|
||||
bindgesture swipe:right workspace next
|
||||
bindgesture swipe:left workspace prev
|
||||
# Touchpad thingies
|
||||
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
|
||||
gaps inner 10
|
||||
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/*
|
||||
exec pipewire
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue