mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-04-11 06:02:28 +00:00
Adjust systemd services to work better with UWSM
This commit is contained in:
parent
1abeb1e9ab
commit
fbc693674d
8 changed files with 9 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Show a notification when the battery is low
|
Description=Show a notification when the battery is low
|
||||||
Requires=graphical-session.target
|
Requires=graphical-session.target
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
Description=Clipman clipboard manager
|
Description=Clipman clipboard manager
|
||||||
After=graphical-session.target
|
After=graphical-session.target
|
||||||
Requires=graphical-session.target
|
Requires=graphical-session.target
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/wl-paste -t text --watch /usr/bin/clipman store --no-persist
|
ExecStart=/usr/bin/wl-paste -t text --watch /usr/bin/clipman store --no-persist
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Open %I eww window
|
Description=Open %I eww window
|
||||||
|
After=graphical-session.target
|
||||||
After=eww.service
|
After=eww.service
|
||||||
|
PartOf=eww.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -10,6 +12,7 @@ ExecStop=/usr/bin/eww close %i
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=3s
|
RestartSec=3s
|
||||||
|
Slice=background-graphical.slice
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target
|
WantedBy=graphical-session.target
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Eww daemon
|
Description=Eww daemon
|
||||||
PartOf=graphical-session.target
|
After=graphical-session.target
|
||||||
|
After=pipewire.service
|
||||||
|
Requires=graphical-session.target
|
||||||
|
Requires=pipewire.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/eww daemon --no-daemonize
|
ExecStart=/usr/bin/eww daemon --no-daemonize
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Show unread GitHub notifications
|
Description=Show unread GitHub notifications
|
||||||
Requires=graphical-session.target
|
Requires=graphical-session.target
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Daemon watching for Hyprland monitor updates
|
Description=Daemon watching for Hyprland monitor updates
|
||||||
After=wayland-session@hyprland.desktop.target
|
After=wayland-session@hyprland.desktop.target
|
||||||
|
After=eww.service
|
||||||
|
Requires=eww.service
|
||||||
Requires=wayland-session@hyprland.desktop.target
|
Requires=wayland-session@hyprland.desktop.target
|
||||||
PartOf=wayland-session@hyprland.desktop.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=%h/.local/bin/scripts/gui/hyprland/hyprland-monitord
|
ExecStart=%h/.local/bin/scripts/gui/hyprland/hyprland-monitord
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
Description="PolicyKit authentication agent"
|
Description="PolicyKit authentication agent"
|
||||||
After=graphical-session.target
|
After=graphical-session.target
|
||||||
Requires=graphical-session.target
|
Requires=graphical-session.target
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
ExecStart=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
Description=Redshift and brightness control for Wayland
|
Description=Redshift and brightness control for Wayland
|
||||||
After=graphical-session.target
|
After=graphical-session.target
|
||||||
Requires=graphical-session.target
|
Requires=graphical-session.target
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/wl-gammarelay-rs run
|
ExecStart=/usr/bin/wl-gammarelay-rs run
|
||||||
|
|
Loading…
Add table
Reference in a new issue