added adaptive quickshell
This commit is contained in:
1 parent
6eb56d2065
commit
5b33a73fd8
189 files changed
+8678
-15
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
export QT_QUICK_CONTROLS_STYLE=Material
|
||||
# Quickshell owns org.freedesktop.Notifications when the adaptive shell runs.
|
||||
export ADAPTIVE_NOTIFICATIONS="${ADAPTIVE_NOTIFICATIONS:-1}"
|
||||
repo=$(CDPATH= cd -- "$(dirname -- "$0")/../.." && pwd)
|
||||
case "${1:-start}" in
|
||||
start) exec quickshell --no-duplicate --path "$repo/quickshell" ;;
|
||||
reload|status|launcher|settings|bluetooth|network|wallpapers|audio|quickSettings|recent|power|notifications|close)
|
||||
if ! quickshell ipc --path "$repo/quickshell" show >/dev/null 2>&1; then
|
||||
quickshell --daemonize --no-duplicate --path "$repo/quickshell"
|
||||
fi
|
||||
exec quickshell ipc --path "$repo/quickshell" call shell "$1" ;;
|
||||
stop) exec quickshell kill --path "$repo/quickshell" ;;
|
||||
*) printf '%s\n' 'Usage: adaptive-shell [start|stop|reload|status|launcher|settings|bluetooth|network|wallpapers|audio|quickSettings|recent|power|notifications|close]' >&2; exit 2 ;;
|
||||
esac
|
||||
Reference in new issue
Block a user