This commit is contained in:
2025-12-11 17:17:21 +01:00
commit 3add673455
43 changed files with 2799 additions and 0 deletions

6
kanshi/apply-wallpaper.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
sleep 0.5
WALLPAPER=$(cat ~/.config/swww/current-wallpaper 2>/dev/null)
if [ -n "$WALLPAPER" ] && [ -f "$WALLPAPER" ]; then
swww img "$WALLPAPER"
fi

15
kanshi/config Normal file
View File

@@ -0,0 +1,15 @@
profile laptop {
output eDP-1 enable
exec ~/.config/kanshi/apply-wallpaper.sh
}
profile laptop_and_hdmi {
output eDP-1 enable
output HDMI-A-1 enable
exec ~/.config/kanshi/apply-wallpaper.sh
}
profile {
output "*"
exec ~/.config/kanshi/apply-wallpaper.sh
}