Fix lid wake blanking, passcode lag, idle drain, zero-log privacy default, and replace Conky with native dwm clock
This commit is contained in:
1 parent
11ec778c2f
commit
1d71bc81d8
42 files changed
+732
-267
No files matched your search
@@ -2,6 +2,9 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Synchronizes dunst notification colors and font with the active NeoUI .xth/.Xresources theme.
|
||||
|
||||
exec 9>/tmp/bananarchy_sync_dunst.lock
|
||||
flock -w 2 9 2>/dev/null || exit 0
|
||||
|
||||
XRES_FILE="/home/user/.Xresources"
|
||||
if [ -e /tmp/bananarchy_duress_mode ] && [ -r /tmp/duress_home/.Xresources ]; then
|
||||
XRES_FILE="/tmp/duress_home/.Xresources"
|
||||
@@ -121,9 +124,11 @@ fi
|
||||
if [ "${1:-}" != "--no-restart" ]; then
|
||||
if pidof -s dunst >/dev/null 2>&1; then
|
||||
pkill -x dunst >/dev/null 2>&1 || true
|
||||
sleep 0.08
|
||||
if ! pidof -s dunst >/dev/null 2>&1; then
|
||||
DISPLAY="${DISPLAY:-:0}" dunst -config /tmp/dunstrc >/dev/null 2>&1 </dev/null &
|
||||
if ! pidof -s superd >/dev/null 2>&1; then
|
||||
sleep 0.1
|
||||
if ! pidof -s dunst >/dev/null 2>&1; then
|
||||
DISPLAY="${DISPLAY:-:0}" dunst -config /tmp/dunstrc >/dev/null 2>&1 </dev/null &
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user