desktop: add wallpaper systemd units

This commit is contained in:
2026-03-03 21:05:25 -05:00
parent 0ad52f54ab
commit b07a218b7b
3 changed files with 39 additions and 24 deletions
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Daily wallpaper update
Documentation=bing-wallpaper
[Service]
Type=simple
ExecStart=/home/sjb/.local/bin/bing-wallpaper.sh
[Install]
WantedBy=default.target
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Daily wallpaper update
Documentation=bing-wallpaper
[Timer]
OnCalendar=daily
AccuracySec=12h
Persistent=true
[Install]
WantedBy=timers.target
+18 -24
View File
@@ -9,38 +9,32 @@ if [[ -x "$(command -v systemctl)" ]]; then
systemctl --user enable --now syncthing
fi
sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/hyprland.org
THEMES_DIR="${HOME}/.local/share/themes"
sjb-script-installer ${SJB_CONF_DIR}/bin/hyprland-activeworkspace
sjb-script-installer ${SJB_CONF_DIR}/bin/hyprland-keybindings
sjb-script-installer ${SJB_CONF_DIR}/bin/hyprland-fetch-client
sjb-script-installer ${SJB_CONF_DIR}/bin/hyprland-focus-client
sjb-script-installer ${SJB_CONF_DIR}/bin/rofi-pass
${DOTFILES_DIR}/sync-config config/hypr
${DOTFILES_DIR}/sync-script script/hyprland-activeworkspace
${DOTFILES_DIR}/sync-script script/hyprland-keybindings
${DOTFILES_DIR}/sync-script script/hyprland-fetch-client
${DOTFILES_DIR}/sync-script script/hyprland-focus-client
${DOTFILES_DIR}/sync-script script/rofi-pass
sjb-script-installer ${SJB_CONF_DIR}/bin/bing-wallpaper
${DOTFILES_DIR}/sync-script script/bing-wallpaper
if [[ -x "$(command -v systemctl)" ]]; then
sjb-update-config systemd/user/wallpaper.service
sjb-update-config systemd/user/wallpaper.timer
${DOTFILES_DIR}/sync-config config/systemd
systemctl --user enable --now wallpaper.timer
fi
#sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/walker.org
sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/rofi.org
${DOTFILES_DIR}/sync-config config/rofi
ln -snf ~/.config/omarchy/current/theme/walker.css ~/.config/walker/themes/default.css
${DOTFILES_DIR}/sync-config config/mako
ln -snf ${THEMES_DIR}/current/theme/mako.ini ${HOME}/.config/mako/config
sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/mako.org
# theme link
mkdir -p ~/.config/mako
ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config
sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/ghostty.org
if [[ -f "${HOME}/.config/ghostty/theme" ]]; then
rm ${HOME}/.config/ghostty/theme
fi
ln -snf ~/.config/omarchy/current/theme/ghostty ~/.config/ghostty/theme
${DOTFILES_DIR}/sync-config config/ghostty
ln -snf ${THEMES_DIR}/current/theme/ghostty ${HOME}/.config/ghostty/theme
sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/chromium.org
${DOTFILES_DIR}/sync-config config/chromium-flags.conf