home/sway: fix gtkhide titlebar

This commit is contained in:
Aly Raffauf 2024-07-25 20:57:56 -04:00
parent e3ae57e131
commit e5d143c66a
3 changed files with 10 additions and 4 deletions

View file

@ -6,9 +6,9 @@
}: { }: {
config = lib.mkIf config.ar.home.desktop.sway.enable { config = lib.mkIf config.ar.home.desktop.sway.enable {
ar.home.theme.gtk.hideTitleBar = ar.home.theme.gtk.hideTitleBar =
if config.wayland.windowManager.sway.package == pkgs.sway if config.wayland.windowManager.sway.package == pkgs.swayfx
then true then false
else false; else true;
wayland.windowManager.sway = import ./settings.nix {inherit config lib pkgs;}; wayland.windowManager.sway = import ./settings.nix {inherit config lib pkgs;};

View file

@ -173,6 +173,7 @@ in {
{app_id = ".blueman-manager-wrapped";} {app_id = ".blueman-manager-wrapped";}
{app_id = "blueberry.py";} {app_id = "blueberry.py";}
{app_id = "com.github.wwmm.easyeffects";} {app_id = "com.github.wwmm.easyeffects";}
{app_id = "nm-connection-editor";}
{app_id = "pavucontrol";} {app_id = "pavucontrol";}
{app_id = "solaar";} {app_id = "solaar";}
{title = "Open File";} {title = "Open File";}
@ -213,6 +214,10 @@ in {
command = "resize set 40ppt 60ppt; move position center"; command = "resize set 40ppt 60ppt; move position center";
criteria = {app_id = ".blueman-manager-wrapped";}; 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"; command = "resize set 40ppt 60ppt; move position center";
criteria = {app_id = "pavucontrol";}; criteria = {app_id = "pavucontrol";};
@ -267,6 +272,8 @@ in {
layer_effects logout_dialog blur enable layer_effects logout_dialog blur enable
layer_effects notifications blur enable layer_effects notifications blur enable
layer_effects notifications blur_ignore_transparent 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 enable
layer_effects swaybar blur_ignore_transparent enable layer_effects swaybar blur_ignore_transparent enable
layer_effects swayosd blur enable layer_effects swayosd blur enable

View file

@ -307,7 +307,6 @@ in {
gtk.hideTitleBar = lib.mkOption { gtk.hideTitleBar = lib.mkOption {
description = "Whether to hide GTK3/4 titlebars (useful for some window managers)."; description = "Whether to hide GTK3/4 titlebars (useful for some window managers).";
default = false;
type = lib.types.bool; type = lib.types.bool;
}; };