Clean & debug files
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
wallpaperPath = "${config.home.homeDirectory}/.config/wallpaper/current-wallpaper.jpg";
|
||||
in
|
||||
{
|
||||
# Create wallpaper directory and download wallpaper
|
||||
home.file.".config/wallpaper/current-wallpaper.jpg" = {
|
||||
source = ./walls.jpg;
|
||||
};
|
||||
|
||||
# Set wallpaper using activation script
|
||||
home.activation.setWallpaper = config.lib.dag.entryAfter [ "writeBoundary" ] ''
|
||||
# Set wallpaper for all desktops using osascript
|
||||
$DRY_RUN_CMD /usr/bin/osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"${wallpaperPath}\""
|
||||
'';
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
aria2
|
||||
];
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 526 KiB |
@@ -1,9 +1,11 @@
|
||||
{ import-tree, ... }:
|
||||
{
|
||||
home-manager.users.alistreaza = {
|
||||
|
||||
imports = [
|
||||
(import-tree ../../../modules/home/common)
|
||||
(import-tree ../../../modules/home/darwin)
|
||||
(import-tree ../../../../modules/home/common)
|
||||
(import-tree ../../../../modules/home/darwin)
|
||||
(import-tree ../partials)
|
||||
];
|
||||
|
||||
home = {
|
||||
@@ -41,7 +41,6 @@ with lib.hm.gvariant;
|
||||
};
|
||||
|
||||
"org/gnome/desktop/interface" = {
|
||||
icon-theme = "Papirus";
|
||||
accent-color = "teal";
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user