Add wallpaper config for arch
This commit is contained in:
@@ -77,14 +77,12 @@ run_oneshot() {
|
|||||||
|
|
||||||
schedule() {
|
schedule() {
|
||||||
name="$1"; shift
|
name="$1"; shift
|
||||||
spec="$1"; shift
|
|
||||||
do_run "$name" || return
|
do_run "$name" || return
|
||||||
systemd-run \
|
systemd-run \
|
||||||
--user \
|
--user \
|
||||||
--unit "$(get_unit_name "${name}")" \
|
--unit "$(get_unit_name "${name}")" \
|
||||||
--no-block \
|
--no-block \
|
||||||
--setenv=DISPLAY=${DISPLAY} \
|
--setenv=DISPLAY=${DISPLAY} \
|
||||||
--on-calendar="${spec}" \
|
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,7 +128,8 @@ run dunst dunst -config ~/.config/dunstrc
|
|||||||
# disabled due to firefox flicker
|
# disabled due to firefox flicker
|
||||||
# run compton compton --backend glx --vsync opengl --no-dock-shadow --no-dnd-shadow
|
# run compton compton --backend glx --vsync opengl --no-dock-shadow --no-dnd-shadow
|
||||||
|
|
||||||
run_oneshot wallpaper --property=ExecStartPre="/bin/sleep 1" feh --bg-scale "${wallpaper}"
|
schedule wallpaper --on-active=50s --on-calendar hourly \
|
||||||
|
setrandom --recursive --onlylarge --mode=stretch /usr/share/wallpapers
|
||||||
|
|
||||||
run blueman blueman-applet
|
run blueman blueman-applet
|
||||||
|
|
||||||
@@ -154,7 +153,7 @@ if [[ "${MACHINE_HAS_NEXTCLOUD}" == "true" ]] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${MACHINE_HAS_RESTIC_BACKUP}" == "true" ]] ; then
|
if [[ "${MACHINE_HAS_RESTIC_BACKUP}" == "true" ]] ; then
|
||||||
[[ -x ~/bin/restic-backup ]] && schedule restic-backup "Mon..Fri 12:00:00" --on-calendar "Mon..Fri 09:00:00" --on-calendar "Mon..Fri 16:00:00" ~/bin/restic-backup
|
[[ -x ~/bin/restic-backup ]] && schedule restic-backup --on-calendar "Mon..Fri 12:00:00" --on-calendar "Mon..Fri 09:00:00" --on-calendar "Mon..Fri 16:00:00" ~/bin/restic-backup
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -455,6 +455,14 @@ packages:
|
|||||||
fedora: []
|
fedora: []
|
||||||
ubuntu: []
|
ubuntu: []
|
||||||
archlinux: ["kwallet", "kwalletmanager"]
|
archlinux: ["kwallet", "kwalletmanager"]
|
||||||
|
wallpapers:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: []
|
||||||
|
archlinux: ["elementary-wallpapers", "deepin-community-wallpapers"]
|
||||||
|
wallutils:
|
||||||
|
fedora: []
|
||||||
|
ubuntu: []
|
||||||
|
archlinux: ["wallutils"]
|
||||||
|
|
||||||
remove:
|
remove:
|
||||||
mousepad:
|
mousepad:
|
||||||
|
|||||||
Reference in New Issue
Block a user