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