Update sway configuration

This commit is contained in:
Oliver Davies 2024-05-07 14:28:12 +01:00
parent 12cfadd564
commit 5329b3534f
2 changed files with 6 additions and 3 deletions

View file

@ -80,9 +80,8 @@
defaultWorkspace = "workspace number 1";
gaps = {
inner = 5;
inner = 0;
smartBorders = "on";
smartGaps = true;
};
input = {
@ -100,6 +99,7 @@
"${modifier}+Escape" = "exec swaylock --daemonize";
"${modifier}+Shift+b" = "exec ${pkgs.firefox}/bin/firefox";
"${modifier}+Shift+f" = "exec ${pkgs.xfce.thunar}/bin/thunar";
"${modifier}+Shift+period" = "exec systemctl suspend";
"${modifier}+Shift+s" = "exec ${pkgs.flameshot}/bin/flameshot gui";
"${modifier}+Shift+y" = "exec ${pkgs.copyq}/bin/copyq toggle";
};
@ -143,6 +143,9 @@
for_window [app_id="flameshot"] floating enable
for_window [class="zoom"] floating enable
seat seat0 hide_cursor 1000
seat seat0 hide_cursor when-typing enable
'';
};
}

View file

@ -24,6 +24,6 @@
XDG_SESSION_TYPE = "wayland";
};
home.packages = with pkgs; [ i3status wl-clipboard wofi ];
home.packages = with pkgs; [ i3status wdisplays wl-clipboard wofi ];
};
}