Set GNOME dock apps declaratively

This commit is contained in:
thiloho
2025-01-29 01:54:36 +01:00
parent 7e899ae853
commit e1ba243e65

View File

@@ -46,6 +46,20 @@
edge-tiling = true;
};
"org/gnome/shell" = {
favorite-apps = [
"com.github.neithern.g4music.desktop"
"firefox-devedition.desktop"
"mullvad-browser.desktop"
"mullvad-vpn.desktop"
"tutanota-desktop.desktop"
"org.gnome.SystemMonitor.desktop"
"org.gnome.Console.desktop"
"codium.desktop"
"org.gnome.Nautilus.desktop"
];
};
"org/gnome/shell/app-switcher" = {
current-workspace-only = false;
};
@@ -55,16 +69,19 @@
accent-color = "purple";
enable-hot-corners = true;
locate-pointer = true;
gtk-theme = "Adwaita-dark";
};
"org/gnome/desktop/background" = let
wallpaperImg = pkgs.fetchurl {
url = "https://images.unsplash.com/photo-1585149599548-04b9ad8c1b53?q=80&w=3874&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D";
hash = "sha256-sbjIPX25Kyi5tyxRfGhk1iRMIqhbFKbEY2AtA68+k4Q=";
"org/gnome/desktop/background" =
let
wallpaperImg = pkgs.fetchurl {
url = "https://images.unsplash.com/photo-1585149599548-04b9ad8c1b53?q=80&w=3874&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D";
hash = "sha256-sbjIPX25Kyi5tyxRfGhk1iRMIqhbFKbEY2AtA68+k4Q=";
};
in
{
picture-uri = "${wallpaperImg}";
picture-uri-dark = "${wallpaperImg}";
};
in {
picture-uri = "${wallpaperImg}";
picture-uri-dark = "${wallpaperImg}";
};
};
}