feat: adds gestures to move workspaces to sway

This commit is contained in:
Ahwx 2026-06-11 15:06:02 +02:00
parent 5a35e6557e
commit a81e8b5a90

View file

@ -25,7 +25,6 @@ let
in
{
home.packages = with pkgs; [
libinput-gestures
wmctrl
waylock
];
@ -268,6 +267,8 @@ in
# blur enable
# blur_passes 2
# lbur_radius 1
bindgesture swipe:right workspace prev
bindgesture swipe:left workspace next
'';
};
@ -289,17 +290,4 @@ in
window_background_opacity = 0.2;
};
};
home.file = {
"/home/${username}/.config/libinput-gestures/sway.conf" = {
executable = false;
text = "
Cycle right through sway workspaces
gesture: swipe right 3 swaymsg focus right
# Cycle left through sway workspaces
gesture: swipe left 3 swaymsg focus left
";
};
};
}