sway: fixed swayidle/swaylock and added touchpad gestures

This commit is contained in:
Aly Raffauf 2024-04-14 10:03:18 -04:00
parent 4992fec150
commit 45bb18a48b

View file

@ -88,7 +88,7 @@
{command = "nm-applet";}
{command = "swayosd-server";}
{command = "thunar --daemon";}
{command = "${pkgs.swayidle} -w timeout 300 '${pkgs.swaylock}' before-sleep '${pkgs.swaylock}'";}
{command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock' before-sleep '${pkgs.swaylock}/bin/swaylock'";}
];
output = {
"BOE 0x095F Unknown" = {
@ -107,6 +107,11 @@
};
};
wayland.windowManager.sway.extraConfig = ''
bindgesture swipe:right workspace prev
bindgesture swipe:left workspace next
'';
xdg.configFile."xfce4/helpers.rc".text = ''
TerminalEmulator=alacritty
FileManager=thunar