change wallpaper

This commit is contained in:
2024-07-05 01:03:17 +02:00
parent 99e6f5e476
commit a20751002e
5 changed files with 13 additions and 5 deletions

View File

@@ -301,7 +301,7 @@ exec nextcloud
exec cryptomator exec cryptomator
exec swayidle \ exec swayidle \
before-sleep 'loginctl lock-session $XDG_SESSION_ID' \ before-sleep 'loginctl lock-session $XDG_SESSION_ID' \
lock 'swaylock --image ~/.wallpaper.jpg' \ lock 'swaylock --color #282a36 --image ~/.wallpaper.jpg' \
timeout 180 'swaylock --screenshots --effect-blur 7x5' \ timeout 180 'swaylock --screenshots --effect-blur 7x5' \
timeout 1800 'systemctl suspend' timeout 1800 'systemctl suspend'
exec dunst exec dunst
@@ -312,9 +312,12 @@ exec mako --default-timeout=5000
# wallpaper # wallpaper
output eDP-1 scale 1.5 output eDP-1 scale 1.5
output eDP-1 bg ~/.wallpaper.jpg fill output eDP-1 bg #282a36 solid_color
output DP-4 bg ~/.wallpaper.jpg fill output eDP-1 bg ~/.wallpaper.png center
output DP-5 bg ~/.wallpaper.jpg fill output DP-4 bg #282a36 solid_color
output DP-4 bg ~/.wallpaper.png center
output DP-5 bg #282a36 solid_color
output DP-5 bg ~/.wallpaper.png center
input * xkb_layout "de" input * xkb_layout "de"
input * xkb_variant "colemak,,typewriter" input * xkb_variant "colemak,,typewriter"

View File

@@ -17,7 +17,9 @@ let
''; '';
}; };
sway-conf = builtins.readFile ./sway.conf + cfg.additionalConfig; sway-conf = builtins.readFile ./sway.conf + cfg.additionalConfig + ''
exec swaybg --mode center -c #252525 -i ~/.wallpaper.png
'';
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) { unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
config = { allowUnfree = true; }; config = { allowUnfree = true; };
}; };
@@ -94,6 +96,7 @@ in {
rofi-rbw rofi-rbw
slurp slurp
sway sway
swaybg
sway-launcher-desktop sway-launcher-desktop
swayidle swayidle
swaylock swaylock

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -345,6 +345,8 @@ in
set -eu set -eu
''; '';
home.file.".wallpaper.jpg".source = ./configs/wallpaper.jpg;
home.file.".wallpaper.png".source = ./configs/wallpaper.png;
home.file.".local/share/nvim/project_nvim/project_history".source = ./configs/project_history; home.file.".local/share/nvim/project_nvim/project_history".source = ./configs/project_history;
home.file.".config/Cryptomator/settings.json".source = ./configs/cryptomator.json; home.file.".config/Cryptomator/settings.json".source = ./configs/cryptomator.json;