Merge branch 'master' of ssh://git.joshuabell.xyz:3032/ringofstorms/dotfiles
This commit is contained in:
commit
282208d537
6 changed files with 215 additions and 91 deletions
|
|
@ -209,16 +209,6 @@ in
|
|||
'';
|
||||
})
|
||||
|
||||
(mkIf ((length cfg.wallpapers) > 0) {
|
||||
environment.etc."xdg/plasma-org.kde.plasma.desktop-appletsrc".text =
|
||||
let
|
||||
wallpaperPath = builtins.head cfg.wallpapers;
|
||||
in
|
||||
''
|
||||
[Containments][1][Wallpaper][org.kde.image][General]
|
||||
Image=file://${wallpaperPath}
|
||||
'';
|
||||
})
|
||||
|
||||
# GPU blocks
|
||||
(mkIf cfg.gpu.amd.enable {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,9 @@
|
|||
}:
|
||||
let
|
||||
cfg = osConfig.ringofstorms.dePlasma;
|
||||
inherit (lib) mkIf;
|
||||
inherit (lib) mkIf optionalAttrs;
|
||||
# Get the first wallpaper from the list if available
|
||||
wallpaper = if (builtins.length cfg.wallpapers) > 0 then builtins.head cfg.wallpapers else null;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -294,6 +296,8 @@ in
|
|||
lookAndFeel = "org.kde.breezedark.desktop";
|
||||
theme = "breeze-dark";
|
||||
cursor.theme = "breeze_cursors";
|
||||
} // optionalAttrs (wallpaper != null) {
|
||||
wallpaper = wallpaper;
|
||||
};
|
||||
|
||||
configFile = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue