Initial commit

This commit is contained in:
2025-11-28 16:44:06 -08:00
commit c673a0bda5
27 changed files with 1563 additions and 0 deletions

12
systemd/fcitx5.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Input method framework with extension support
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
# BusName=org.fcitx.Fcitx5
ExecStart=/usr/bin/fcitx5
[Install]
WantedBy=graphical-session.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=Prevent system sleep while audio is playing
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
ExecStart=%h/scripts/cl/bin/inhibit-sleep-for-audio
[Install]
WantedBy=graphical-session.target

15
systemd/kanshi.service Normal file
View File

@ -0,0 +1,15 @@
[Unit]
Description=Wayland daemon that automatically configures outputs
Documentation=man:kanshi(1)
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
ExecStart=/usr/bin/kanshi
ExecStartPost=%h/scripts/set-initial-kanshi-state
ExecReload=/usr/bin/kanshictl reload
ExecReload=%h/scripts/set-initial-kanshi-state
[Install]
WantedBy=graphical-session.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=Notify user of calendar events
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
ExecStart=%h/scripts/cl/bin/khal-notify
[Install]
WantedBy=graphical-session.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=Handle laptop docking
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
ExecStart=%h/scripts/laptop-lid-daemon
[Install]
WantedBy=graphical-session.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=Authentication Agent for PolicyKit and MATE
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
ExecStart=/usr/lib/mate-polkit/polkit-mate-authentication-agent-1
[Install]
WantedBy=graphical-session.target

View File

@ -0,0 +1,9 @@
[Unit]
Description=Session services that should be started before river
Documentation=man:systemd.target(5)
RefuseManualStart=yes
StopWhenUnneeded=yes
BindsTo=graphical-session-pre.target
PropagatesStopTo=graphical-session-pre.target
Before=graphical-session-pre.target
Before=river-session.target

View File

@ -0,0 +1,8 @@
[Unit]
Description=Graphical session using the River compositor
Documentation=man:systemd.target(5)
RefuseManualStart=yes
StopWhenUnneeded=yes
BindsTo=graphical-session.target
PropagatesStopTo=graphical-session.target
Before=graphical-session.target

16
systemd/river.service Normal file
View File

@ -0,0 +1,16 @@
[Unit]
Description=A dynamic tiling Wayland compositor
Documentation=man:river(1)
BindsTo=river-session.target
Before=river-session.target
Wants=river-session-pre.target
After=river-session-pre.target
[Service]
Slice=session.slice
Type=notify
ExecStart=%h/.local/bin/river
Restart=on-failure
RestartSec=2
NotifyAccess=all
ExecStopPost=/usr/bin/systemctl --user unset-environment DISPLAY WAYLAND_DISPLAY

12
systemd/swaybg.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Background for Wayland
Documentation=man:swaybg(1)
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
ExecStart=%h/.config/river/config/run-swaybg.sh
[Install]
WantedBy=graphical-session.target

12
systemd/swayidle@.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=Idle manager for Wayland
Documentation=man:swayidle(1)
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
ExecStart=/usr/bin/swayidle -w -C ${HOME}/.config/river/config/swayidle-%i.conf
[Install]
WantedBy=graphical-session.target

View File

@ -0,0 +1,12 @@
[Unit]
Description=System bus notification daemon
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
# BusName=net.nuetzlich.SystemNotifications
ExecStart=/usr/bin/systembus-notify
[Install]
WantedBy=graphical-session.target

View File

@ -0,0 +1,11 @@
[Unit]
Description=Notify user of untrused USB devices
PartOf=graphical-session.target
After=graphical-session.target
[Service]
Type=exec
ExecStart=%h/scripts/usbguard-notify.py
[Install]
WantedBy=graphical-session.target

14
systemd/waybar.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=Highly customizable Wayland bar for Sway and Wlroots based compositors
Documentation=https://github.com/Alexays/Waybar/wiki/
PartOf=graphical-session.target
After=graphical-session.target
Requisite=graphical-session.target
[Service]
ExecStart=%h/.local/bin/waybar -c %h/.config/river/waybar/config.jsonc -s %h/.config/river/waybar/style.css
ExecReload=kill -SIGUSR2 $MAINPID
Restart=on-failure
[Install]
WantedBy=graphical-session.target