Update wallpaper source dir and fix README badge link
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# -*- mode: org; -*-
|
||||
[[https://github.com/IvanMalison/dotfiles/actions/workflows/gh-pages.yml][
|
||||
file:https://github.com/IvanMalison/dotfiles/actions/workflows/gh-pages.yml/badge.svg?branch=master]]
|
||||
[[https://github.com/colonelpanic8/dotfiles/actions/workflows/gh-pages.yml][https://github.com/colonelpanic8/dotfiles/actions/workflows/gh-pages.yml/badge.svg?branch=master]]
|
||||
|
||||
This document is best read at [[http://ivanmalison.github.io/dotfiles/]] or, of
|
||||
course, in emacs, as the internal links that follow are unlikely to work
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
wallpaper_dir="${WALLPAPER_DIR:-/var/lib/syncthing/sync/Wallpaper}"
|
||||
wallpaper_dir="${WALLPAPER_DIR:-/var/lib/syncthing/sync/Wallpaper/use}"
|
||||
|
||||
notify() {
|
||||
if command -v notify-send >/dev/null 2>&1; then
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
};
|
||||
|
||||
systemd.user.services.hyprpaper = let
|
||||
wallpaperDir = "/var/lib/syncthing/sync/Wallpaper";
|
||||
wallpaperDir = "/var/lib/syncthing/sync/Wallpaper/use";
|
||||
waitForWayland = pkgs.writeShellScript "wait-for-wayland" ''
|
||||
# Hyprpaper needs a Wayland socket. systemd "Condition*" checks are
|
||||
# brittle here (they skip the unit entirely, with no retry) and also
|
||||
|
||||
@@ -42,7 +42,7 @@ makeEnable config "myModules.xmonad" true {
|
||||
enable = true;
|
||||
display = "fill";
|
||||
interval = "1h";
|
||||
imageDirectory = "/var/lib/syncthing/sync/Wallpaper";
|
||||
imageDirectory = "/var/lib/syncthing/sync/Wallpaper/use";
|
||||
};
|
||||
# This service uses feh (X11), so don't run it in Wayland sessions.
|
||||
systemd.user.services.random-background.Unit.ConditionEnvironment = "IMALISON_SESSION_TYPE=x11";
|
||||
|
||||
Reference in New Issue
Block a user