desktop: add wallpaper systemd units
This commit is contained in:
@@ -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
|
||||||
@@ -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
@@ -9,38 +9,32 @@ if [[ -x "$(command -v systemctl)" ]]; then
|
|||||||
systemctl --user enable --now syncthing
|
systemctl --user enable --now syncthing
|
||||||
fi
|
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
|
${DOTFILES_DIR}/sync-config config/hypr
|
||||||
sjb-script-installer ${SJB_CONF_DIR}/bin/hyprland-keybindings
|
|
||||||
sjb-script-installer ${SJB_CONF_DIR}/bin/hyprland-fetch-client
|
${DOTFILES_DIR}/sync-script script/hyprland-activeworkspace
|
||||||
sjb-script-installer ${SJB_CONF_DIR}/bin/hyprland-focus-client
|
${DOTFILES_DIR}/sync-script script/hyprland-keybindings
|
||||||
sjb-script-installer ${SJB_CONF_DIR}/bin/rofi-pass
|
${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
|
sjb-script-installer ${SJB_CONF_DIR}/bin/bing-wallpaper
|
||||||
|
|
||||||
|
${DOTFILES_DIR}/sync-script script/bing-wallpaper
|
||||||
|
|
||||||
if [[ -x "$(command -v systemctl)" ]]; then
|
if [[ -x "$(command -v systemctl)" ]]; then
|
||||||
sjb-update-config systemd/user/wallpaper.service
|
${DOTFILES_DIR}/sync-config config/systemd
|
||||||
sjb-update-config systemd/user/wallpaper.timer
|
|
||||||
systemctl --user enable --now wallpaper.timer
|
systemctl --user enable --now wallpaper.timer
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/walker.org
|
${DOTFILES_DIR}/sync-config config/rofi
|
||||||
sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/rofi.org
|
|
||||||
|
|
||||||
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
|
${DOTFILES_DIR}/sync-config config/ghostty
|
||||||
|
ln -snf ${THEMES_DIR}/current/theme/ghostty ${HOME}/.config/ghostty/theme
|
||||||
# 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
|
|
||||||
|
|
||||||
|
|
||||||
sjb-orgmode-installer ${SJB_CONF_DIR}/orgmode-configs/chromium.org
|
${DOTFILES_DIR}/sync-config config/chromium-flags.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user