mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-07-16 22:21:55 +08:00
feat: adds gestures to move workspaces to sway
This commit is contained in:
parent
5a35e6557e
commit
a81e8b5a90
1 changed files with 2 additions and 14 deletions
|
|
@ -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
|
||||
";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue