diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-08-03 17:50:17 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-08-03 17:50:17 -0700 |
commit | 968c9cb9c75ffc43845085ecb7e56747640adeae (patch) | |
tree | 9086f70e064ae27a1f5977ad842eed0c5d87a508 | |
parent | e6c75773be5d9cf9d4c26cf2e7d0b243f6317d0d (diff) | |
download | dotfiles-968c9cb9c75ffc43845085ecb7e56747640adeae.tar.gz dotfiles-968c9cb9c75ffc43845085ecb7e56747640adeae.zip |
Fixes and Adds new user systemd services
-rw-r--r-- | dots/mako/.config/mako/config.j2 | 2 | ||||
-rw-r--r-- | dots/mako/.config/mako/sounds/notification.mp3 | bin | 36864 -> 0 bytes | |||
-rw-r--r-- | dots/sway/.config/sway/config.d/10-autostart-applications | 3 | ||||
-rw-r--r-- | dots/sway/.config/sway/config.d/theme.j2 | 3 | ||||
-rw-r--r-- | dots/systemd/.config/systemd/user/playerctld.service | 9 | ||||
-rw-r--r-- | dots/systemd/.config/systemd/user/wallpaper.service.j2 (renamed from dots/systemd/.config/systemd/services/wallpaper.service.j2) | 3 |
6 files changed, 15 insertions, 5 deletions
diff --git a/dots/mako/.config/mako/config.j2 b/dots/mako/.config/mako/config.j2 index d9a2f33..c2c32af 100644 --- a/dots/mako/.config/mako/config.j2 +++ b/dots/mako/.config/mako/config.j2 @@ -1,5 +1,3 @@ -on-notify=exec mpv --volume=50 ~/.config/mako/sounds/notification.mp3 & - font=monospace 11 format=<b>%a ⏵</b> %s\n%b sort=-time diff --git a/dots/mako/.config/mako/sounds/notification.mp3 b/dots/mako/.config/mako/sounds/notification.mp3 Binary files differdeleted file mode 100644 index 0430b39..0000000 --- a/dots/mako/.config/mako/sounds/notification.mp3 +++ /dev/null diff --git a/dots/sway/.config/sway/config.d/10-autostart-applications b/dots/sway/.config/sway/config.d/10-autostart-applications index a6f182b..3e695f4 100644 --- a/dots/sway/.config/sway/config.d/10-autostart-applications +++ b/dots/sway/.config/sway/config.d/10-autostart-applications @@ -6,6 +6,9 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec hash dbus-update-activation-environment 2>/dev/null && \ dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK +exec swww-daemon -f xrgb +exec systemctl start --user wallpaper + exec swayidle -w \ timeout 300 'swaylock' \ timeout 600 'swaymsg "output * dpms off"' \ diff --git a/dots/sway/.config/sway/config.d/theme.j2 b/dots/sway/.config/sway/config.d/theme.j2 index a55c03b..9eeb1a8 100644 --- a/dots/sway/.config/sway/config.d/theme.j2 +++ b/dots/sway/.config/sway/config.d/theme.j2 @@ -6,9 +6,6 @@ default_border pixel 2 smart_borders on smart_gaps off -exec swww-daemon -f xrgb -exec systemctl start --user wallpaper - font pango:{{ theme.sway.font }} exec gsettings set org.gnome.desktop.interface cursor-theme {{ theme.gtk.cursor }} diff --git a/dots/systemd/.config/systemd/user/playerctld.service b/dots/systemd/.config/systemd/user/playerctld.service new file mode 100644 index 0000000..f54238c --- /dev/null +++ b/dots/systemd/.config/systemd/user/playerctld.service @@ -0,0 +1,9 @@ +[Unit] +Description=MPRIS + +[Service] +Type=oneshot +ExecStart=/usr/bin/playerctld daemon + +[Install] +WantedBy=default.target diff --git a/dots/systemd/.config/systemd/services/wallpaper.service.j2 b/dots/systemd/.config/systemd/user/wallpaper.service.j2 index df4f595..511a82e 100644 --- a/dots/systemd/.config/systemd/services/wallpaper.service.j2 +++ b/dots/systemd/.config/systemd/user/wallpaper.service.j2 @@ -7,3 +7,6 @@ RestartSec=1800s ExecStart=/bin/bash {{ user.home }}/scripts/wallpaper.sh Sysloglevel=5 LogLevelMax=5 + +[Install] +WantedBy=default.target |