Skip to content

Commit

Permalink
feat: gnome improvs
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsgirao committed Jun 6, 2024
1 parent 5208ff2 commit 8f71e05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion modules/workstation/gnome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,14 @@
"org/gnome/shell/app-switcher" = { current-workspace-only = false; };

# "org/gnome/eog/ui" = { image-gallery = true; };
# "/org/gnome/settings-daemon/plugins/power" = {
# sleep-inactive-battery-type = "suspend";
# sleep-inactive-battery-timeout = lib.hm.gvariant.mkUint32 900;
# sleep-inactive-ac-type = "nothing";
# };

"org/gnome/mutter" = {
edge-tiling = true;
edge-tiling = lib.mkDefault true;
workspaces-only-on-primary = true;
dynamic-workspaces = true;
};
Expand Down
2 changes: 2 additions & 0 deletions modules/workstation/pop-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
# Enable and configure pop-shell, see:
# - https://github.com/pop-os/shell/blob/master_jammy/scripts/configure.sh
# - https://github.com/trevex/dotfiles/blob/5b3b0e2b9624fbedd1a64d378e18aea6efef6db9/modules/nixos/desktop/gnome/default.nix#L60
"org/gnome/mutter".edge-tiling = false;

"org/gnome/shell/extensions/pop-shell" = {
active-hint = true;
smart-gaps = true;
tile-by-default = true;
gap-outer = lib.hm.gvariant.mkUint32 0;
gap-inner = lib.hm.gvariant.mkUint32 0;
};
Expand Down

0 comments on commit 8f71e05

Please sign in to comment.