Add user systemd
This commit is contained in:
7
linux/systemd/user/wallpaper.service
Normal file
7
linux/systemd/user/wallpaper.service
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# This is a transient unit file, created programmatically via the systemd API. Do not edit.
|
||||||
|
[Unit]
|
||||||
|
Description=Set wallpaper
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Environment="DISPLAY=:0"
|
||||||
|
ExecStart="/bin/bash" "-c" "/bin/feh --bg-fill --randomize ~/.config/wallpaper/*"
|
||||||
10
linux/systemd/user/wallpaper.timer
Normal file
10
linux/systemd/user/wallpaper.timer
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# This is a transient unit file, created programmatically via the systemd API. Do not edit.
|
||||||
|
[Unit]
|
||||||
|
Description=Change wallpaper
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*:0/5
|
||||||
|
RemainAfterElapse=no
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=xsession.target
|
||||||
1
linux/systemd/user/xsession.target.wants/wallpaper.timer
Symbolic link
1
linux/systemd/user/xsession.target.wants/wallpaper.timer
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/home/vbalien/.config/systemd/user/wallpaper.timer
|
||||||
@@ -20,7 +20,7 @@ const linux: DotOption = {
|
|||||||
fcitx5 fcitx5-qt fcitx5-gtk fcitx5-hangul fcitx5-anthy
|
fcitx5 fcitx5-qt fcitx5-gtk fcitx5-hangul fcitx5-anthy
|
||||||
kcm-fcitx5 numix-gtk-theme-git numix-circle-icon-theme-git
|
kcm-fcitx5 numix-gtk-theme-git numix-circle-icon-theme-git
|
||||||
telegram-desktop nautilus eog smplayer smplayer-skin transgui-qt
|
telegram-desktop nautilus eog smplayer smplayer-skin transgui-qt
|
||||||
qt5-styleplugins xdg-user-dirs slim network-manager-applet`,
|
qt5-styleplugins xdg-user-dirs slim network-manager-applet bc`,
|
||||||
],
|
],
|
||||||
link: {
|
link: {
|
||||||
...common.link,
|
...common.link,
|
||||||
@@ -36,6 +36,7 @@ const linux: DotOption = {
|
|||||||
".config/sxhkd": "linux/sxhkd",
|
".config/sxhkd": "linux/sxhkd",
|
||||||
".config/fcitx5": "linux/fcitx5",
|
".config/fcitx5": "linux/fcitx5",
|
||||||
".config/dconf": "linux/dconf",
|
".config/dconf": "linux/dconf",
|
||||||
|
".config/systemd": "linux/systemd",
|
||||||
".config/wallpaper": "wallpaper",
|
".config/wallpaper": "wallpaper",
|
||||||
".xinitrc": "linux/xinitrc",
|
".xinitrc": "linux/xinitrc",
|
||||||
".pam_environment": "linux/pam_environment",
|
".pam_environment": "linux/pam_environment",
|
||||||
|
|||||||
Reference in New Issue
Block a user