diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index 99297b81..010829bd 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -6,9 +6,9 @@ }: { config = lib.mkIf config.ar.home.desktop.sway.enable { ar.home.theme.gtk.hideTitleBar = - if config.wayland.windowManager.sway.package == pkgs.sway - then true - else false; + if config.wayland.windowManager.sway.package == pkgs.swayfx + then false + else true; wayland.windowManager.sway = import ./settings.nix {inherit config lib pkgs;}; diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index 5a43c9ba..469832f6 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -173,6 +173,7 @@ in { {app_id = ".blueman-manager-wrapped";} {app_id = "blueberry.py";} {app_id = "com.github.wwmm.easyeffects";} + {app_id = "nm-connection-editor";} {app_id = "pavucontrol";} {app_id = "solaar";} {title = "Open File";} @@ -213,6 +214,10 @@ in { command = "resize set 40ppt 60ppt; move position center"; criteria = {app_id = ".blueman-manager-wrapped";}; } + { + command = "resize set 40ppt 60ppt; move position center"; + criteria = {app_id = "nm-connection-editor";}; + } { command = "resize set 40ppt 60ppt; move position center"; criteria = {app_id = "pavucontrol";}; @@ -267,6 +272,8 @@ in { layer_effects logout_dialog blur enable layer_effects notifications blur enable layer_effects notifications blur_ignore_transparent enable + layer_effects rofi blur enable + layer_effects rofi blur_ignore_transparent enable layer_effects swaybar blur enable layer_effects swaybar blur_ignore_transparent enable layer_effects swayosd blur enable diff --git a/homeManagerModules/options.nix b/homeManagerModules/options.nix index ae771b6b..5d892076 100644 --- a/homeManagerModules/options.nix +++ b/homeManagerModules/options.nix @@ -307,7 +307,6 @@ in { gtk.hideTitleBar = lib.mkOption { description = "Whether to hide GTK3/4 titlebars (useful for some window managers)."; - default = false; type = lib.types.bool; };