config(user): desktop session and pi-status-bridge tweaks

This commit is contained in:
2026-08-27 15:50:31 +02:00
parent cd9b50feae
commit 15b44304c1
6 changed files with 45 additions and 6 deletions
@@ -1,6 +1,6 @@
[Theme] [Theme]
ThemeDir=/usr/share/sddm/themes ThemeDir=/usr/share/sddm/themes
Current=maya Current=noctalia
EnableAvatars=false EnableAvatars=false
[Users] [Users]
@@ -2,4 +2,4 @@
PI_STATUS_BRIDGE_CLIENT=/home/alex/.local/bin/pi-status-bridge-client PI_STATUS_BRIDGE_CLIENT=/home/alex/.local/bin/pi-status-bridge-client
PI_STATUS_UI_BINARY=/home/alex/.local/bin/pi-status-ui PI_STATUS_UI_BINARY=/home/alex/.local/bin/pi-status-ui
# Ctrl+Super+Space starts a fresh Pi session in this worktree. Change as needed. # Ctrl+Super+Space starts a fresh Pi session in this worktree. Change as needed.
PI_STATUS_DEFAULT_WORKTREE=/home/alex/projects/pi-status-bridge PI_STATUS_DEFAULT_WORKTREE=/home/alex/projects/pi-gui
@@ -70,6 +70,7 @@ hl.workspace_rule({
local noctalia_ipc = "noctalia msg " local noctalia_ipc = "noctalia msg "
local pi_status_ui_toggle = 'ui="${PI_STATUS_UI_BINARY:-$HOME/.local/bin/pi-status-ui}"; if test -x "$ui"; then setsid -f env TMPDIR=/tmp "$ui" --toggle >/tmp/pi-status-ui.log 2>&1; fi' local pi_status_ui_toggle = 'ui="${PI_STATUS_UI_BINARY:-$HOME/.local/bin/pi-status-ui}"; if test -x "$ui"; then setsid -f env TMPDIR=/tmp "$ui" --toggle >/tmp/pi-status-ui.log 2>&1; fi'
local pi_status_ui_new_session = 'ui="${PI_STATUS_UI_BINARY:-$HOME/.local/bin/pi-status-ui}"; if test -x "$ui"; then setsid -f env TMPDIR=/tmp "$ui" --new >/tmp/pi-status-ui.log 2>&1; fi' local pi_status_ui_new_session = 'ui="${PI_STATUS_UI_BINARY:-$HOME/.local/bin/pi-status-ui}"; if test -x "$ui"; then setsid -f env TMPDIR=/tmp "$ui" --new >/tmp/pi-status-ui.log 2>&1; fi'
local pi_status_ui_quick = 'ui="${PI_STATUS_UI_BINARY:-$HOME/.local/bin/pi-status-ui}"; if test -x "$ui"; then setsid -f env TMPDIR=/tmp "$ui" --quick >/tmp/pi-status-ui.log 2>&1; fi'
-- Tap and release Super on its own to open Noctalia's control-center home. -- Tap and release Super on its own to open Noctalia's control-center home.
hl.bind(main_mod .. " + SUPER_L", hl.dsp.exec_cmd(noctalia_ipc .. "panel-toggle control-center"), { release = true }) hl.bind(main_mod .. " + SUPER_L", hl.dsp.exec_cmd(noctalia_ipc .. "panel-toggle control-center"), { release = true })
hl.bind(main_mod .. " + RETURN", hl.dsp.exec_cmd(terminal)) hl.bind(main_mod .. " + RETURN", hl.dsp.exec_cmd(terminal))
@@ -77,8 +78,8 @@ hl.bind(main_mod .. " + CTRL + RETURN", hl.dsp.exec_cmd(terminal .. " -e zellij"
hl.bind(main_mod .. " + SHIFT + RETURN", hl.dsp.exec_cmd("rofi -show combi")) hl.bind(main_mod .. " + SHIFT + RETURN", hl.dsp.exec_cmd("rofi -show combi"))
hl.bind(main_mod .. " + SPACE", hl.dsp.exec_cmd(pi_status_ui_toggle)) hl.bind(main_mod .. " + SPACE", hl.dsp.exec_cmd(pi_status_ui_toggle))
hl.bind(main_mod .. " + CTRL + SPACE", hl.dsp.exec_cmd(pi_status_ui_new_session)) hl.bind(main_mod .. " + CTRL + SPACE", hl.dsp.exec_cmd(pi_status_ui_new_session))
hl.bind(main_mod .. " + S", hl.dsp.exec_cmd(pi_status_ui_quick))
hl.bind(main_mod .. " + N", hl.dsp.exec_cmd(noctalia_ipc .. "panel-toggle alex/knowledge-lookup:panel")) hl.bind(main_mod .. " + N", hl.dsp.exec_cmd(noctalia_ipc .. "panel-toggle alex/knowledge-lookup:panel"))
hl.bind(main_mod .. " + S", hl.dsp.exec_cmd(noctalia_ipc .. "panel-toggle control-center"))
hl.bind(main_mod .. " + 0", hl.dsp.exec_cmd(noctalia_ipc .. "panel-toggle session")) hl.bind(main_mod .. " + 0", hl.dsp.exec_cmd(noctalia_ipc .. "panel-toggle session"))
hl.bind(main_mod .. " + SHIFT + F", hl.dsp.exec_cmd(noctalia_ipc .. "bar-toggle main")) hl.bind(main_mod .. " + SHIFT + F", hl.dsp.exec_cmd(noctalia_ipc .. "bar-toggle main"))
hl.bind(main_mod .. " + SHIFT + R", hl.dsp.exec_cmd("hyprctl reload")) hl.bind(main_mod .. " + SHIFT + R", hl.dsp.exec_cmd("hyprctl reload"))
@@ -6,7 +6,24 @@ x-scheme-handler/webcal=userapp-Thunderbird-0DWKA3.desktop
text/calendar=userapp-Thunderbird-0DWKA3.desktop text/calendar=userapp-Thunderbird-0DWKA3.desktop
application/x-extension-ics=userapp-Thunderbird-0DWKA3.desktop application/x-extension-ics=userapp-Thunderbird-0DWKA3.desktop
x-scheme-handler/webcals=userapp-Thunderbird-0DWKA3.desktop x-scheme-handler/webcals=userapp-Thunderbird-0DWKA3.desktop
image/png=nomacs.desktop application/pdf=org.gnome.Evince.desktop
image/avif=org.nomacs.ImageLounge.desktop
image/bmp=org.nomacs.ImageLounge.desktop
image/gif=org.nomacs.ImageLounge.desktop
image/heic=org.nomacs.ImageLounge.desktop
image/heif=org.nomacs.ImageLounge.desktop
image/jpeg=org.nomacs.ImageLounge.desktop
image/jxl=org.nomacs.ImageLounge.desktop
image/png=org.nomacs.ImageLounge.desktop
image/tiff=org.nomacs.ImageLounge.desktop
image/webp=org.nomacs.ImageLounge.desktop
image/x-eps=org.nomacs.ImageLounge.desktop
image/x-ico=org.nomacs.ImageLounge.desktop
image/x-portable-bitmap=org.nomacs.ImageLounge.desktop
image/x-portable-graymap=org.nomacs.ImageLounge.desktop
image/x-portable-pixmap=org.nomacs.ImageLounge.desktop
image/x-xbitmap=org.nomacs.ImageLounge.desktop
image/x-xpixmap=org.nomacs.ImageLounge.desktop
[Added Associations] [Added Associations]
x-scheme-handler/mailto=userapp-Thunderbird-JBPLA3.desktop; x-scheme-handler/mailto=userapp-Thunderbird-JBPLA3.desktop;
@@ -4,6 +4,8 @@ return {
{ {
output = "HDMI-A-1", output = "HDMI-A-1",
mode = "3840x2160@120", mode = "3840x2160@120",
bitdepth = 10,
cm = "hdr",
position = "0x0", position = "0x0",
scale = 1, scale = 1,
}, },
@@ -94,7 +94,26 @@ width = 880
# GPU polling is disabled by Noctalia by default; enable it for the RTX 3090 widgets. # GPU polling is disabled by Noctalia by default; enable it for the RTX 3090 widgets.
gpu_poll_seconds = 2.0 gpu_poll_seconds = 2.0
# The desktop's Hypridle listener provides a five-minute input-dismissable black # Hypridle provides the five-minute input-dismissable black OLED overlay.
# OLED overlay. Keep Noctalia from issuing a competing DPMS screen-off action. # On this desktop, Noctalia's only enabled idle action is plain suspend after
# thirty minutes; do not lock or transition into hibernation automatically.
[idle]
behavior_order = ["suspend"]
[idle.behavior.lock]
enabled = false
[idle.behavior.screen-off] [idle.behavior.screen-off]
enabled = false enabled = false
[idle.behavior.suspend-then-hibernate]
enabled = false
[idle.behavior.suspend]
action = "suspend"
enabled = true
timeout = 1800
lock_before_suspend = false
[lockscreen]
lock_before_suspend = false