flake/home/applications/common/wm.nix
2024-03-26 16:49:35 +08:00

8 lines
337 B
Nix

{pkgs, ...}: {
home.packages = with pkgs; [pavucontrol];
# remove csd window buttons
# https://github.com/localsend/localsend/blob/2457acd8a7412723b174672d174e4853dccd7d99/app/linux/my_application.cc#L45
home.sessionVariables.GTK_CSD = 0;
dconf.settings."org/gnome/desktop/wm/preferences"."button-layout" = "icon,appmenu:";
}