mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
Set GNOME dock apps declaratively
This commit is contained in:
@@ -46,6 +46,20 @@
|
|||||||
edge-tiling = true;
|
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" = {
|
"org/gnome/shell/app-switcher" = {
|
||||||
current-workspace-only = false;
|
current-workspace-only = false;
|
||||||
};
|
};
|
||||||
@@ -55,16 +69,19 @@
|
|||||||
accent-color = "purple";
|
accent-color = "purple";
|
||||||
enable-hot-corners = true;
|
enable-hot-corners = true;
|
||||||
locate-pointer = true;
|
locate-pointer = true;
|
||||||
|
gtk-theme = "Adwaita-dark";
|
||||||
};
|
};
|
||||||
|
|
||||||
"org/gnome/desktop/background" = let
|
"org/gnome/desktop/background" =
|
||||||
wallpaperImg = pkgs.fetchurl {
|
let
|
||||||
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";
|
wallpaperImg = pkgs.fetchurl {
|
||||||
hash = "sha256-sbjIPX25Kyi5tyxRfGhk1iRMIqhbFKbEY2AtA68+k4Q=";
|
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}";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user