From d054acb505beacc823609df70dce0c351740ac5e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 Aug 2025 18:13:17 +0800 Subject: hyprland: integrate Quickshell, update keybinds and layer rules --- dot-config/hypr/autostart.conf | 6 ++++-- dot-config/hypr/binds.conf | 16 +++++++++------- dot-config/hypr/rules.conf | 9 +++++++-- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/dot-config/hypr/autostart.conf b/dot-config/hypr/autostart.conf index fdf90871..2b6c5e81 100644 --- a/dot-config/hypr/autostart.conf +++ b/dot-config/hypr/autostart.conf @@ -15,7 +15,9 @@ exec-once = hyprpm reload || hyprpm update # exec-once = pyprland # Waybar -exec-once = waybar +# exec-once = waybar +# Quickshell +exec-once = qs -d # Hypr-Eco # exec-once = hyprpaper # exec-once = $SCRIPTSDIR/hyprpaper.sh @@ -107,7 +109,7 @@ exec-once = while true; do thunar --daemon; done # backlight # exec-once = wf-recorder --muxer=v4l2 --codec=rawvideo --file=/dev/video9 -x yuv420p exec-once = while true; do hyperhdr; done -exec-once = video-guard +# exec-once = video-guard exec-once = while true; do ~/scripts/flipper-ac.py "$(nc -lp 4883)"; done exec-once = while true; do nc -lp 4884 -e "~/scripts/flipper-ac.py statusBool"; done diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index ba279998..9d2b349f 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -16,18 +16,19 @@ bind = $mod, return, execr, $termLaunch bind = $mod shift, return, exec, $termfloat # bind = $mod space, return, execr, $terminal start --class pseudo bind = $mod alt, Delete, execr, $rofiexec/rofi_powermenu -bind = alt, F1, execr, $rofiexec/rofi_launcher +bind = alt, F1, execr, qs ipc call launcher toggle bind = alt, F2, execr, $rofiexec/rofi_runner -bind = alt, F3, execr, $rofiexec/rofi_calc bind = alt, F4, execr, $rofiexec/sgpt -bind = $mod, period, execr, $rofiexec/rofi_emoji +# bind = $mod, period, execr, $rofiexec/rofi_emoji +bind = $mod, period, execr, qs ipc call launcher standalone Emoji # utils bind = $mod, c, execr, $rofiexec/rofi_configs # bind = $mod, m, execr, $rofiexec/rofi_music bind = $mod, n, execr, nmd # bind = $mod, r, execr, $rofiexec/rofi_asroot # bind = $mod, s, execr, $rofiexec/rofi_screenshot -bind = $mod, v, execr, $rofiexec/rofi_clipboard +# bind = $mod, v, execr, $rofiexec/rofi_clipboard +bind = $mod, v, execr, qs ipc call launcher standalone Clip # bind = $mod, w, execr, $rofiexec/rofi_windows # bind = $mod, x, execr, $rofiexec/rofi_powermenu # bind = $mod, b, execr, $rofiexec/rofi_bluetooth @@ -88,15 +89,16 @@ binde = ,XF86MonBrightnessDown, execr, $HOME/scripts/sysutil.sh brightness --dec # Window management # bind = $mod, d, execr, $HOME/scripts/hyprhide h # bind = $mod, i, execr, $HOME/scripts/hyprhide s -bind = $mod, d, execr, hyprctl dispatch movetoworkspacesilent special:minimized; pkill -RTMIN+5 waybar +bind = $mod, d, execr, hyprctl dispatch movetoworkspacesilent special:minimized bind = $mod, i, togglespecialworkspace, minimized -bind = $mod, i, execr, hyprctl dispatch movetoworkspace +0; pkill -RTMIN+5 waybar +bind = $mod, i, execr, hyprctl dispatch movetoworkspace +0 binde = $mod, q, killactive bind = $mod shift, q, execr, kill -9 $(hyprctl activewindow | grep pid | tail -1 | awk '{print$2}') bind = ctrl alt, escape, execr, hyprctl kill bind = ctrl $mod shift, r, execr, hyprctl reload # restart bar -bind = ctrl $mod, escape, execr, killall -SIGUSR2 waybar || waybar & +# bind = ctrl $mod, escape, execr, killall -SIGUSR2 waybar || waybar & +bind = ctrl $mod, escape, execr, qs ipc call qs reload false || qs & # reload wall bind = $mod alt, b, execr, killall wallust $bgChanger; $bgChangerBin # bind = ctrl, up, hyprexpo:expo, on diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf index 60aa8195..f1b2ab98 100644 --- a/dot-config/hypr/rules.conf +++ b/dot-config/hypr/rules.conf @@ -221,6 +221,11 @@ layerrule = ignorezero, rofi layerrule = dimaround, rofi layerrule = animation popin 45%, rofi +layerrule = blur, quickshell::launcher.* +layerrule = ignorezero, quickshell::launcher.* +layerrule = dimaround, quickshell::launcher.* +layerrule = animation popin 45%, quickshell::launcher.* + layerrule = blur,notifications layerrule = ignorezero,notifications layerrule = blur,swaync-notification-window @@ -235,8 +240,8 @@ layerrule = blur,logout_dialog layerrule = blur, waybar layerrule = ignorezero, waybar -layerrule = blur, quickshell:bar -layerrule = ignorezero, quickshell:bar +layerrule = blur, quickshell::bar +layerrule = ignorezero, quickshell::bar layerrule = blur, syshud layerrule = ignorezero, syshud -- cgit v1.2.3