added adaptive quickshell

This commit is contained in:
wt committed 2026-11-17 18:15:16 +07:00
1 parent 6eb56d2065
commit 5b33a73fd8
189 files changed
+8678 -15

No files matched your search

+16
View File
@@ -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
Executable → Regular
View File
File mode changed.
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
# Do not mutate wallpaper/configuration while establishing the security boundary.
set -eu
if pgrep -x hyprlock >/dev/null; then exit 0; fi
exec hyprlock
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
Executable → Regular
View File
File mode changed.
+1 -1
View File
@@ -1,6 +1,6 @@
background {
monitor =
path = /home/tola/Pictures/wallpaper/photo_2025-11-04_16-15-57.jpg
path = /home/tola/Pictures/wallpaper/crafted-for-cuteness-3840x2160-v0-d8u3ac79b94e1.png
color = rgba(25, 20, 20, 1.0)
blur_passes = 3
blur_size = 3
View File
Whitespace-only changes.
+1 -5
View File
@@ -1,5 +1 @@
hl.monitor({output = "", mode = "preferred", position = "auto", scale = "auto"})
hl.monitor({output = "DVI-I-1", mode = "1920x1200", position = "0x0", scale = 1})
hl.monitor({output = "HEADLESS-2", mode = "2048x1538", position = "0x0", scale = 2})
hl.monitor({output = "vnc", mode = "1280x720", position = "0x0", scale = 1})
hl.monitor({output = "DP-1", mode = "3440x1440@165", position = "0x0", scale = 1})
hl.monitor({ output = "DP-1", mode = "3440x1440@165.00Hz", position = "0x0", scale = 1 })
+8
View File
@@ -26,3 +26,11 @@ keyboard_brightness_lower = "brightnessctl --device smc::kbd_backlight s 10%-"
music_toggle = "swayosd-client --playerctl play-pause"
music_next = "swayosd-client --playerctl next"
music_prev = "swayosd-client --playerctl previous"
-- Optional migration profile. Keep the legacy commands above as rollback defaults.
if os.getenv("ADAPTIVE_SHELL") == "1" then
local shell = "~/dotfiles/hypr/bin/adaptive-shell "
launcher = shell .. "launcher"
powermenu = shell .. "power"
swaync_toggle = shell .. "notifications"
end
+8 -2
View File
@@ -1,7 +1,11 @@
hl.on("hyprland.start", function()
hl.exec_cmd("hyprpaper")
hl.exec_cmd("sleep 0.3 && ~/dotfiles/hypr/bin/background.sh")
hl.exec_cmd("waybar")
if os.getenv("ADAPTIVE_SHELL") == "1" then
hl.exec_cmd("~/dotfiles/hypr/bin/adaptive-shell start")
else
hl.exec_cmd("waybar")
end
hl.exec_cmd("lxpolkit")
hl.exec_cmd("gsettings set org.gnome.desktop.interface gtk-theme 'MacTahoe-Dark'")
hl.exec_cmd("gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'")
@@ -10,7 +14,9 @@ hl.on("hyprland.start", function()
hl.exec_cmd("hyprctl setcursor Bibata-Modern-Ice 24")
hl.exec_cmd("dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP")
hl.exec_cmd("systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP")
hl.exec_cmd("swaync")
if os.getenv("ADAPTIVE_SHELL") ~= "1" or os.getenv("ADAPTIVE_NOTIFICATIONS") == "0" then
hl.exec_cmd("swaync")
end
hl.exec_cmd("nm-applet --indicator")
hl.exec_cmd("uxplay")
hl.exec_cmd("hypridle")
View File
Whitespace-only changes.