Add standard wallpapers

This commit is contained in:
2021-11-11 23:09:19 +00:00
parent b8c20c65be
commit f782bdfe7f
9 changed files with 30 additions and 10 deletions

10
flake.lock generated
View File

@@ -26,14 +26,18 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1636508828,
"lastModified": 1636667637,
"narHash": "sha256-qgjgowDhUF3Kb4KKzJGd5VtKEHkDqn4unEexPauPvgs=",
"ref": "main",
"rev": "7c057b93965fb730f73628d46d509797a93e32d9",
"revCount": 10,
"type": "git",
"url": "file:///home/daniel/go/src/i3utils"
"url": "https://git.sr.ht/~dpatterbee/i3utils"
},
"original": {
"ref": "main",
"type": "git",
"url": "file:///home/daniel/go/src/i3utils"
"url": "https://git.sr.ht/~dpatterbee/i3utils"
}
},
"nixpkgs": {

View File

@@ -4,7 +4,7 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
i3utils.url = "git+file:///home/daniel/go/src/i3utils";
i3utils.url = "git+https://git.sr.ht/~dpatterbee/i3utils?ref=main";
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
@@ -55,7 +55,10 @@
in {
homeConfigurations = {
daniel-dingbox = mkUserConf { hostname = "dingbox"; };
daniel-dingbox = mkUserConf {
hostname = "dingbox";
extraSauce = [ ./user/host-specific/dingbox ];
};
daniel-miniding = mkUserConf {
hostname = "miniding";
extraSauce = [ ./user/host-specific/miniding ];

View File

@@ -0,0 +1,9 @@
{ config, lib, pkgs, ...}:
{
home.file = {
"wallpapers" = {
source = ./wallpapers;
};
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@@ -1,10 +1,14 @@
{ config, lib, pkgs, ...}:
let
mod = "Mod4";
in {
{
services.picom = {
enable = true;
vSync = true;
};
home.file = {
wallpapers = {
source = ./wallpapers;
};
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 411 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 KiB

View File

@@ -56,8 +56,8 @@ in {
"${mod}+Shift+j" = "exec --no-startup-id i3utils window move next";
"${mod}+p" = "scratchpad show";
"${mod}+Escape" = "exec i3lock -i /home/daniel/Pictures/wallpapers/wallpaper_3840x2160_blur.png";
"${mod}+Shift+Escape" = "exec i3lock -i /home/daniel/Pictures/wallpapers/wallpaper_3840x2160_blur.png && systemctl suspend";
"${mod}+Escape" = "exec i3lock -i /home/daniel/wallpapers/lock.png";
"${mod}+Shift+Escape" = "exec i3lock -i /home/daniel/wallpapers/lock.png && systemctl suspend";
};
modifier = mod;