Updated/added wallpaper

This commit is contained in:
Alejandro Angulo 2022-11-13 08:24:59 -08:00
parent 590fb5075b
commit 5d29b0a7fb
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
4 changed files with 7 additions and 4 deletions

View file

@ -6,6 +6,7 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: check-yaml - id: check-yaml
- id: check-added-large-files - id: check-added-large-files
exclude_types: ["png"]
- repo: https://github.com/kamadorueda/alejandra - repo: https://github.com/kamadorueda/alejandra
rev: 3.0.0 rev: 3.0.0
hooks: hooks:

View file

@ -60,7 +60,7 @@ in {
"${cfg.modifier}+c" = "kill"; "${cfg.modifier}+c" = "kill";
"${cfg.modifier}+p" = "exec ${cfg.menu}"; "${cfg.modifier}+p" = "exec ${cfg.menu}";
"${cfg.modifier}+z" = "reload"; "${cfg.modifier}+z" = "reload";
"${cfg.modifier}+x" = "exec swaylock -i ${config.home.homeDirectory}/wallpaper.png"; "${cfg.modifier}+x" = "exec swaylock -i ${config.home.homeDirectory}/dotfiles/users/alejandro/sway/wallpaper.png";
# Volume control # Volume control
"XF86AudioRaiseVolume" = " exec 'pamixer --increase 5'"; "XF86AudioRaiseVolume" = " exec 'pamixer --increase 5'";

View file

@ -2,7 +2,9 @@
config, config,
pkgs, pkgs,
... ...
}: { }: let
wallpaper = "${config.home.homeDirectory}/dotfiles/users/alejandro/sway/wallpaper.png";
in {
imports = [ imports = [
./keybindings.nix ./keybindings.nix
./waybar.nix ./waybar.nix
@ -24,7 +26,7 @@
timeouts = [ timeouts = [
{ {
timeout = 300; timeout = 300;
command = "${pkgs.swaylock}/bin/swaylock -i ${config.home.homeDirectory}/wallpaper.png"; command = "${pkgs.swaylock}/bin/swaylock -i ${wallpaper}";
} }
{ {
timeout = 600; timeout = 600;
@ -84,7 +86,7 @@
focus.followMouse = false; focus.followMouse = false;
output = { output = {
"*".bg = "${config.home.homeDirectory}/wallpaper.png fill"; "*".bg = "${wallpaper} fill";
"eDP-1".scale = "1"; "eDP-1".scale = "1";
"Unknown ASUS VG24V 0x00007AAC" = { "Unknown ASUS VG24V 0x00007AAC" = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 MiB