Krolyxon
Commit b35e737

Branches

Refs →

aurorab35e737

aurora: rename unit to aurora-shell.service

Author
krolyxon
Date
2026-11-02 17:23 +0530
Committer
krolyxon · 2026-11-02 17:23 +0530
Parent
c531183
Commit
b35e7378bc6861460621bcb3beaa0fb5ac99ea80

+13 −13

6 files changed

  1. M .config/hypr/hyprland.lua +1 −1
  2. M .config/hypr/source/keybinds.lua +1 −1
  3. M .config/quickshell/aurora/Session.qml +2 −2
  4. R .config/systemd/user/aurora.service → .config/systemd/user/aurora-shell.service +1 −1
  5. M .local/bin/setwall +1 −1
  6. M install.sh +7 −7
M .config/hypr/hyprland.lua View
@@ -26,7 +26,7 @@ hl.on("hyprland.start", function()
2626 hl.exec_cmd("wl-paste --type image --watch cliphist store")
2727 hl.exec_cmd("hyprpm reload -n")
2828 -- aurora is a systemd unit: hand it the login env (.zprofile: SUDO_ASKPASS, EDITOR, XDG dirs, ...)
29− hl.exec_cmd("dbus-update-activation-environment --systemd --all && systemctl --user start aurora")
29+ hl.exec_cmd("dbus-update-activation-environment --systemd --all && systemctl --user start aurora-shell")
3030 -- hl.exec_cmd("waybar")
3131 -- hl.exec_cmd("swaync")
3232 hl.exec_cmd("gammastep")
M .config/hypr/source/keybinds.lua View
@@ -31,7 +31,7 @@ hl.bind(
3131 -----------------
3232 hl.bind(mainMod .. " + c", hl.dsp.exec_cmd("qs -c aurora ipc call shell toggle"))
3333 hl.bind(mainMod .. " + b", hl.dsp.exec_cmd("qs -c aurora ipc call shell bar"))
34−hl.bind(mainMod .. " + SHIFT + b", hl.dsp.exec_cmd("systemctl --user restart aurora"))
34+hl.bind(mainMod .. " + SHIFT + b", hl.dsp.exec_cmd("systemctl --user restart aurora-shell"))
3535
3636 hl.bind(mainMod .. " + R", hl.dsp.exec_cmd(menu))
3737 -- bind = $mainMod SHIFT, P, pseudo, # dwindle
M .config/quickshell/aurora/Session.qml View
@@ -14,8 +14,8 @@ Singleton {
1414 { id: "display", icon: Theme.iMonitor, label: "display off", confirm: false }
1515 ]
1616
17− // Start an app in its own systemd scope. Spawned straight from quickshell it would sit in aurora.service's cgroup:
18− // killed on every `systemctl --user restart aurora`, and one that ignores SIGTERM stalls the restart for 90s.
17+ // Start an app in its own systemd scope. Spawned straight from quickshell it would sit in aurora-shell.service's cgroup:
18+ // killed on every `systemctl --user restart aurora-shell`, and one that ignores SIGTERM stalls the restart for 90s.
1919 function launch(cmd, wd) {
2020 Quickshell.execDetached({ command: ["systemd-run", "--user", "--scope", "--quiet", "--collect", "--"].concat(cmd),
2121 workingDirectory: wd || Quickshell.env("HOME") })
R .config/systemd/user/aurora.service → .config/systemd/user/aurora-shell.service View
@@ -1,5 +1,5 @@
11 [Unit]
2−Description=aurora: Quickshell bar, control panel and notifications
2+Description=aurora-shell: the aurora desktop shell (Quickshell)
33 After=graphical-session.target
44 PartOf=graphical-session.target
55
M .local/bin/setwall View
@@ -15,7 +15,7 @@ usage() {
1515 ipc() {
1616 out=$(qs -c aurora ipc call shell "$@" 2>&1) && [ -z "$out" ] && return
1717 echo "setwall: aurora: ${out:-not running}" >&2
18− echo " (is it running? systemctl --user start aurora)" >&2
18+ echo " (is it running? systemctl --user start aurora-shell)" >&2
1919 exit 1
2020 }
2121
M install.sh View
@@ -228,7 +228,7 @@ This script is provided AS IS, WITHOUT ANY WARRANTY. It will:
228228 • Move conflicting files in your \$HOME to ~/.dotfiles-backup/
229229 • Change your login shell to zsh
230230 • Optionally write /etc/keyd and enable keyd
231−• Enable the aurora.service user unit
231+• Enable the aurora-shell.service user unit
232232
233233 Proceed at your OWN RISK."
234234 )
@@ -379,15 +379,15 @@ fi
379379 #########################
380380 # User unit, stowed to ~/.config/systemd/user. Hyprland starts it at login,
381381 # enabling it also ties it to graphical-session.target. No --now: no session yet.
382−if [[ -f "$HOME/.config/systemd/user/aurora.service" ]]; then
383− if confirm "Enable aurora.service (the desktop shell)?"; then
382+if [[ -f "$HOME/.config/systemd/user/aurora-shell.service" ]]; then
383+ if confirm "Enable aurora-shell.service (the desktop shell)?"; then
384384 systemctl --user daemon-reload
385− systemctl --user enable aurora.service \
386− && log SUCCESS "Successfully enabled aurora.service" \
387− || log ERROR "Couldn't enable aurora.service (run 'systemctl --user enable aurora' after logging in)"
385+ systemctl --user enable aurora-shell.service \
386+ && log SUCCESS "Successfully enabled aurora-shell.service" \
387+ || log ERROR "Couldn't enable aurora-shell.service (run 'systemctl --user enable aurora-shell' after logging in)"
388388 fi
389389 else
390− log WARN "aurora.service is not stowed, skipping"
390+ log WARN "aurora-shell.service is not stowed, skipping"
391391 fi
392392
393393