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