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 {
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;};

View file

@ -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

View file

@ -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;
};