aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-03-10 22:12:51 -0500
committertdro <tdro@users.noreply.github.com>2022-03-10 22:12:51 -0500
commit0272490565009d0e973d8f6ca9cfa27cb2533beb (patch)
tree3d07e87ddcfa316e0670d429bc2a75904d55ea92 /.config/systemd
parent2d23c97d75e52b702e40377965590db611732af8 (diff)
downloaddotfiles-0272490565009d0e973d8f6ca9cfa27cb2533beb.tar.gz
dotfiles-0272490565009d0e973d8f6ca9cfa27cb2533beb.tar.bz2
dotfiles-0272490565009d0e973d8f6ca9cfa27cb2533beb.zip
.bash_profile: Clean up environment
Move wrappers to separate folder. Move vimrc to application directory.
Diffstat (limited to '.config/systemd')
-rw-r--r--.config/systemd/user/events-idle.service4
-rw-r--r--.config/systemd/user/events-resume.service2
-rw-r--r--.config/systemd/user/events-usb.service2
-rw-r--r--.config/systemd/user/workout-notify.service2
4 files changed, 5 insertions, 5 deletions
diff --git a/.config/systemd/user/events-idle.service b/.config/systemd/user/events-idle.service
index ef0cd77..62b4edd 100644
--- a/.config/systemd/user/events-idle.service
+++ b/.config/systemd/user/events-idle.service
@@ -9,8 +9,8 @@ CPUQuota=60%
RestartSec=5
Restart=always
SyslogIdentifier=events-idle
-ExecStartPre=/usr/bin/env sh -c '%h/.local/bin/scripts/events-idle'
-ExecStart=/usr/bin/env sh -c 'while true; do sleep 300 && [ "$(xprintidle)" -gt 120000 ] && %h/.local/bin/scripts/events-idle; done'
+ExecStartPre=/usr/bin/env sh -c 'events-idle'
+ExecStart=/usr/bin/env sh -c 'while true; do sleep 300 && [ "$(xprintidle)" -gt 120000 ] && events-idle; done'
[Install]
WantedBy=default.target
diff --git a/.config/systemd/user/events-resume.service b/.config/systemd/user/events-resume.service
index 2a43df4..a65c0a8 100644
--- a/.config/systemd/user/events-resume.service
+++ b/.config/systemd/user/events-resume.service
@@ -7,7 +7,7 @@ Type=simple
RestartSec=3
Restart=always
SyslogIdentifier=events-resume
-ExecStart=/usr/bin/env sh -c 'dbus-monitor --system | while read; do grep -q 'PrepareForSleep' && %h/.local/bin/scripts/events-resume; done'
+ExecStart=/usr/bin/env sh -c 'dbus-monitor --system | while read; do grep -q 'PrepareForSleep' && events-resume; done'
[Install]
WantedBy=default.target
diff --git a/.config/systemd/user/events-usb.service b/.config/systemd/user/events-usb.service
index 852d6c1..201d171 100644
--- a/.config/systemd/user/events-usb.service
+++ b/.config/systemd/user/events-usb.service
@@ -7,7 +7,7 @@ Type=simple
RestartSec=3
Restart=always
SyslogIdentifier=events-usb
-ExecStart=/usr/bin/env sh -c 'udevadm monitor | while read; do grep -m1 -q "(usb)" && %h/.local/bin/scripts/events-usb; done'
+ExecStart=/usr/bin/env sh -c 'udevadm monitor | while read; do grep -m1 -q "(usb)" && events-usb; done'
[Install]
WantedBy=default.target
diff --git a/.config/systemd/user/workout-notify.service b/.config/systemd/user/workout-notify.service
index 3ea82f4..e043f07 100644
--- a/.config/systemd/user/workout-notify.service
+++ b/.config/systemd/user/workout-notify.service
@@ -4,5 +4,5 @@ Description=Workout notifications
[Service]
Type=oneshot
Environment=DISPLAY=:0
-ExecStart=%h/.local/bin/scripts/workout-notify
+ExecStart=/usr/bin/env sh -c 'workout-notify'
SyslogIdentifier=workout-notify