mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 05:53:56 -05:00
home/sway: fix gtkhide titlebar
This commit is contained in:
parent
e3ae57e131
commit
e5d143c66a
|
@ -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;};
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue