updated sway.nix

This commit is contained in:
serenity-F 2024-11-16 19:03:59 +10:00
parent 9d024e2755
commit 5713a6b37e
No known key found for this signature in database

View file

@ -9,15 +9,14 @@
}: {
imports = [
#./sway-style.nix
../hypr/scripts
];
wayland.windowManager.sway = {
checkConfig = false;
xwayland = true;
enable = true;
xwayland = true;
checkConfig = false;
package = pkgs.swayfx;
systemd = {
enable = true;
@ -30,14 +29,25 @@
config = rec {
modifier = "Mod4";
## Use Wofi as menu
menu = "wofi";
## Use kitty as default terminal
terminal = "kitty";
startup = [
{command = "firefox";}
{command = "startup";}
{command = "kitty";}
];
focus = {
followMouse = "true";
mouseWarping = "false";
newWindow = "smart";
};
};
#extraConfig = {
#};