mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:43:55 -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 {
|
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;};
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue