diff options
Diffstat (limited to 'etc/systemd/system')
-rw-r--r-- | etc/systemd/system/betterlockscreen@.service | 16 | ||||
-rw-r--r-- | etc/systemd/system/grub-btrfs.path | 12 | ||||
l--------- | etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service | 1 |
3 files changed, 29 insertions, 0 deletions
diff --git a/etc/systemd/system/betterlockscreen@.service b/etc/systemd/system/betterlockscreen@.service new file mode 100644 index 0000000..012789a --- /dev/null +++ b/etc/systemd/system/betterlockscreen@.service @@ -0,0 +1,16 @@ +[Unit] +Description = Lock screen when going to sleep/suspend +Before=sleep.target +Before=suspend.target + +[Service] +User=%I +Type=simple +Environment=DISPLAY=:0 +ExecStart=/usr/bin/betterlockscreen --lock dimblur +TimeoutSec=infinity +ExecStartPost=/usr/bin/sleep 1 + +[Install] +WantedBy=sleep.target +WantedBy=suspend.target diff --git a/etc/systemd/system/grub-btrfs.path b/etc/systemd/system/grub-btrfs.path new file mode 100644 index 0000000..932f266 --- /dev/null +++ b/etc/systemd/system/grub-btrfs.path @@ -0,0 +1,12 @@ +[Unit] +Description=Monitors for new timeshift snapshots +DefaultDependencies=no +Requires=run-timeshift-backup.mount +After=run-timeshift-backup.mount +BindsTo=run-timeshift-backup.mount + +[Path] +PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots + +[Install] +WantedBy=run-timeshift-backup.mount
\ No newline at end of file diff --git a/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service b/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service new file mode 120000 index 0000000..cd00411 --- /dev/null +++ b/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/systemd-timesyncd.service
\ No newline at end of file |