From ea094c356c47a7cebd693dc13bc28b623af770ea Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 21 Jul 2025 17:49:38 -0500 Subject: Switch back to kitty --- hypr/hyprland.conf | 10 +++++----- hypr/pyprland.toml | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'hypr') diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 17d19f7..6c893e8 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -104,7 +104,7 @@ misc { disable_hyprland_logo = true disable_splash_rendering = true enable_swallow = true - swallow_regex = ^(st-256color)$ + swallow_regex = ^(kitty)$ swallow_exception_regex = ^(wev|.*ueberzug|n?vi?m? .*)$ vfr = true vrr = 3 @@ -202,9 +202,9 @@ plugin { #{{{ Windowrules # Example windowrule v1 -# windowrule = float, ^(st)$ +# windowrule = float, ^(kitty)$ # Example windowrule v2 -# windowrule = float, class:^(st)$, title:^(st)$ +# windowrule = float, class:^(kitty)$, title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more #}}} @@ -383,8 +383,8 @@ bind = $mainMod $secdMod, P, exec, passmenu #}}} #{{{ Misc bindings -bind = $mainMod, Return, exec, st -bind = $mainMod $secdMod, F, exec, st lf +bind = $mainMod, Return, exec, kitty +bind = $mainMod $secdMod, F, exec, kitty -e lf bind = $mainMod, W, exec, pkill -USR1 waybar bind = $mainMod, Q, exec, loginctl lock-session bind = $mainMod $secdMod CONTROL, Q, exec, systemctl suspend diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml index 038e8dc..a0aa176 100644 --- a/hypr/pyprland.toml +++ b/hypr/pyprland.toml @@ -7,7 +7,7 @@ plugins = [ [scratchpads.sphtop] animation = "" -command = "st -c sphtop htop" +command = "kitty --class sphtop htop" class = "sphtop" lazy = true size = "50% 50%" @@ -15,7 +15,7 @@ position = "25% 25%" [scratchpads.spterm] animation = "" -command = "st -c spterm" +command = "kitty --class spterm" class = "spterm" lazy = true size = "50% 50%" @@ -23,7 +23,7 @@ position = "25% 25%" [scratchpads.sppmxr] animation = "" -command = "st -c sppmxr pulsemixer" +command = "kitty --class sppmxr pulsemixer" class = "sppmxr" lazy = true size = "50% 50%" @@ -31,7 +31,7 @@ position = "25% 25%" [scratchpads.spblue] animation = "" -command = "st -c spblue bluetoothctl" +command = "kitty --class spblue bluetoothctl" class = "spblue" lazy = true size = "50% 50%" @@ -39,7 +39,7 @@ position = "25% 25%" [scratchpads.spncmp] animation = "" -command = "st -c spncmp ncmpcpp" +command = "kitty --class spncmp ncmpcpp" class = "spncmp" lazy = true size = "50% 50%" @@ -47,7 +47,7 @@ position = "25% 25%" [scratchpads.spmutt] animation = "" -command = "st -c spmutt neomutt" +command = "kitty --class spmutt neomutt" class = "spmutt" lazy = true size = "50% 50%" @@ -55,7 +55,7 @@ position = "25% 25%" [scratchpads.spprof] animation = "" -command = "st -c spprof profanity" +command = "kitty --class spprof profanity" class = "spprof" lazy = true size = "50% 50%" @@ -63,7 +63,7 @@ position = "25% 25%" [scratchpads.spirss] animation = "" -command = "st -c spirss irssi" +command = "kitty --class spirss irssi" class = "spirss" lazy = true size = "50% 50%" @@ -71,7 +71,7 @@ position = "25% 25%" [scratchpads.sptodo] animation = "" -command = "st -c sptodo todo" +command = "kitty --class sptodo todo" class = "sptodo" lazy = true size = "50% 50%" @@ -79,7 +79,7 @@ position = "25% 25%" [scratchpads.sptrmc] animation = "" -command = "st -c sptrmc tremc" +command = "kitty --class sptrmc tremc" class = "sptremc" lazy = true size = "50% 50%" -- cgit v1.2.3 From 05f6b181dbe26e590a00b911f8f4de20bcd284cf Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 21 Jul 2025 17:49:56 -0500 Subject: Fix hypr scratchpad name helvum --- hypr/pyprland.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hypr') diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml index a0aa176..2ac36a0 100644 --- a/hypr/pyprland.toml +++ b/hypr/pyprland.toml @@ -85,7 +85,7 @@ lazy = true size = "50% 50%" position = "25% 25%" -[scratchpads.qpwgraph] +[scratchpads.helvum] animation = "" command = "helvum" class = "org.pipewire.Helvum" -- cgit v1.2.3 From 9b210e8d01027ce84673fe12c933e8d246b2d0da Mon Sep 17 00:00:00 2001 From: zachir Date: Mon, 21 Jul 2025 19:58:08 -0500 Subject: Switch back to st This reverts commit ea094c356c47a7cebd693dc13bc28b623af770ea. --- hypr/hyprland.conf | 10 +++++----- hypr/pyprland.toml | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'hypr') diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 6c893e8..17d19f7 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -104,7 +104,7 @@ misc { disable_hyprland_logo = true disable_splash_rendering = true enable_swallow = true - swallow_regex = ^(kitty)$ + swallow_regex = ^(st-256color)$ swallow_exception_regex = ^(wev|.*ueberzug|n?vi?m? .*)$ vfr = true vrr = 3 @@ -202,9 +202,9 @@ plugin { #{{{ Windowrules # Example windowrule v1 -# windowrule = float, ^(kitty)$ +# windowrule = float, ^(st)$ # Example windowrule v2 -# windowrule = float, class:^(kitty)$, title:^(kitty)$ +# windowrule = float, class:^(st)$, title:^(st)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more #}}} @@ -383,8 +383,8 @@ bind = $mainMod $secdMod, P, exec, passmenu #}}} #{{{ Misc bindings -bind = $mainMod, Return, exec, kitty -bind = $mainMod $secdMod, F, exec, kitty -e lf +bind = $mainMod, Return, exec, st +bind = $mainMod $secdMod, F, exec, st lf bind = $mainMod, W, exec, pkill -USR1 waybar bind = $mainMod, Q, exec, loginctl lock-session bind = $mainMod $secdMod CONTROL, Q, exec, systemctl suspend diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml index 2ac36a0..5c1d343 100644 --- a/hypr/pyprland.toml +++ b/hypr/pyprland.toml @@ -7,7 +7,7 @@ plugins = [ [scratchpads.sphtop] animation = "" -command = "kitty --class sphtop htop" +command = "st -c sphtop htop" class = "sphtop" lazy = true size = "50% 50%" @@ -15,7 +15,7 @@ position = "25% 25%" [scratchpads.spterm] animation = "" -command = "kitty --class spterm" +command = "st -c spterm" class = "spterm" lazy = true size = "50% 50%" @@ -23,7 +23,7 @@ position = "25% 25%" [scratchpads.sppmxr] animation = "" -command = "kitty --class sppmxr pulsemixer" +command = "st -c sppmxr pulsemixer" class = "sppmxr" lazy = true size = "50% 50%" @@ -31,7 +31,7 @@ position = "25% 25%" [scratchpads.spblue] animation = "" -command = "kitty --class spblue bluetoothctl" +command = "st -c spblue bluetoothctl" class = "spblue" lazy = true size = "50% 50%" @@ -39,7 +39,7 @@ position = "25% 25%" [scratchpads.spncmp] animation = "" -command = "kitty --class spncmp ncmpcpp" +command = "st -c spncmp ncmpcpp" class = "spncmp" lazy = true size = "50% 50%" @@ -47,7 +47,7 @@ position = "25% 25%" [scratchpads.spmutt] animation = "" -command = "kitty --class spmutt neomutt" +command = "st -c spmutt neomutt" class = "spmutt" lazy = true size = "50% 50%" @@ -55,7 +55,7 @@ position = "25% 25%" [scratchpads.spprof] animation = "" -command = "kitty --class spprof profanity" +command = "st -c spprof profanity" class = "spprof" lazy = true size = "50% 50%" @@ -63,7 +63,7 @@ position = "25% 25%" [scratchpads.spirss] animation = "" -command = "kitty --class spirss irssi" +command = "st -c spirss irssi" class = "spirss" lazy = true size = "50% 50%" @@ -71,7 +71,7 @@ position = "25% 25%" [scratchpads.sptodo] animation = "" -command = "kitty --class sptodo todo" +command = "st -c sptodo todo" class = "sptodo" lazy = true size = "50% 50%" @@ -79,7 +79,7 @@ position = "25% 25%" [scratchpads.sptrmc] animation = "" -command = "kitty --class sptrmc tremc" +command = "st -c sptrmc tremc" class = "sptremc" lazy = true size = "50% 50%" -- cgit v1.2.3 From 2f1eb7a6c025246d289364ee5732ba9add965ecd Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 22 Jul 2025 23:00:56 -0500 Subject: Use hyprscratch for scratchpads, not pyprland --- hypr/hyprland.conf | 87 ++++++----------------------------- hypr/hyprscratch.conf | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++ hypr/pyprland.toml | 98 --------------------------------------- 3 files changed, 138 insertions(+), 172 deletions(-) create mode 100644 hypr/hyprscratch.conf (limited to 'hypr') diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 17d19f7..ae57071 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -14,6 +14,7 @@ exec-once = hyprpaper #exec-once = hypridle exec-once = waybar exec-once = pypr +exec-once = hyprscratch init exec-once = lxqt-policykit-agent exec-once = import-gsettings gtk-theme 'Flat-Remix-GTK-Green-Darkest-Solid' exec-once = import-gsettings icon-theme 'COSMIC' @@ -395,80 +396,18 @@ bind = $mainMod, Comma, exec, acpi-notify.sh #}}} #{{{ Scratchpads -bind = $mainMod CONTROL, Z, exec, pypr toggle sphtop -$sphtop = class:^(sphtop)$ -windowrule = float,$sphtop -windowrule = workspace special:sphtop silent,$sphtop -windowrule = size 50% 50%,$sphtop -windowrule = move 25% 25%,$sphtop -bind = $mainMod CONTROL, X, exec, pypr toggle spterm -$spterm = class:^(spterm)$ -windowrule = float,$spterm -windowrule = workspace special:spterm silent,$spterm -windowrule = size 50% 50%,$spterm -windowrule = move 25% 25%,$spterm -bind = $mainMod CONTROL, C, exec, pypr toggle sppmxr -$sppmxr = class:^(sppmxr)$ -windowrule = float,$sppmxr -windowrule = workspace special:sppmxr silent,$sppmxr -windowrule = size 50% 50%,$sppmxr -windowrule = move 25% 25%,$sppmxr -bind = $mainMod CONTROL, V, exec, pypr toggle spblue -$spblue = class:^(spblue)$ -windowrule = float,$spblue -windowrule = workspace special:spblue silent,$spblue -windowrule = size 50% 50%,$spblue -windowrule = move 25% 25%,$spblue -bind = $mainMod CONTROL, B, exec, pypr toggle spncmp -$spncmp = class:^(spncmp)$ -windowrule = float,$spncmp -windowrule = workspace special:spncmp silent,$spncmp -windowrule = size 50% 50%,$spncmp -windowrule = move 25% 25%,$spncmp -bind = $mainMod CONTROL, A, exec, pypr toggle spmutt -$spmutt = class:^(spmutt)$ -windowrule = float,$spmutt -windowrule = workspace special:spmutt silent,$spmutt -windowrule = size 50% 50%,$spmutt -windowrule = move 25% 25%,$spmutt -bind = $mainMod CONTROL, S, exec, pypr toggle spprof -$spprof = class:^(spprof)$ -windowrule = float,$spprof -windowrule = workspace special:spprof silent,$spprof -windowrule = size 50% 50%,$spprof -windowrule = move 25% 25%,$spprof -bind = $mainMod CONTROL, D, exec, pypr toggle spirss -$spirss = class:^(spirss)$ -windowrule = float,$spirss -windowrule = workspace special:spirss silent,$spirss -windowrule = size 50% 50%,$spirss -windowrule = move 25% 25%,$spirss -bind = $mainMod CONTROL, F, exec, pypr toggle sptodo -$sptodo = class:^(sptodo)$ -windowrule = float,$sptodo -windowrule = workspace special:sptodo silent,$sptodo -windowrule = size 50% 50%,$sptodo -windowrule = move 25% 25%,$sptodo -bind = $mainMod CONTROL, G, exec, pypr toggle sptrmc -$sptrmc = class:^(sptrmc)$ -windowrule = float,$sptrmc -windowrule = workspace special:sptrmc silent,$sptrmc -windowrule = size 50% 50%,$sptrmc -windowrule = move 25% 25%,$sptrmc - -bind = $mainMod CONTROL, Q, exec, pypr toggle qpwgraph -$spqpwg = class:^(org\.rncbc\.qpwgraph)$ -windowrule = float,$spqpwg -windowrule = workspace special:spqpwg silent,$spqpwg -windowrule = size 50% 50%,$spqpwg -windowrule = move 25% 25%,$spqpwg - -bind = $mainMod CONTROL, E, togglespecialworkspace, speasy -$speasy = class:^(com\.github\.wwmm\.easyeffects)$ -windowrule = float,$speasy -windowrule = workspace special:speasy silent,$speasy -windowrule = size 50% 50%,$speasy -windowrule = move 25% 25%,$speasy +bind = $mainMod CONTROL, Z, exec, hyprscratch toggle sphtop +bind = $mainMod CONTROL, X, exec, hyprscratch toggle spterm +bind = $mainMod CONTROL, C, exec, hyprscratch toggle sppmxr +bind = $mainMod CONTROL, V, exec, hyprscratch toggle spblue +bind = $mainMod CONTROL, B, exec, hyprscratch toggle spncmp +bind = $mainMod CONTROL, A, exec, hyprscratch toggle spmutt +bind = $mainMod CONTROL, S, exec, hyprscratch toggle spprof +bind = $mainMod CONTROL, D, exec, hyprscratch toggle spirss +bind = $mainMod CONTROL, F, exec, hyprscratch toggle sptodo +bind = $mainMod CONTROL, G, exec, hyprscratch toggle sptrmc +bind = $mainMod CONTROL, Q, exec, hyprscratch toggle helvum +bind = $mainMod CONTROL, E, exec, hyprscratch toggle easyeffects #}}} #{{{ OBS bindings diff --git a/hypr/hyprscratch.conf b/hypr/hyprscratch.conf new file mode 100644 index 0000000..ce73d98 --- /dev/null +++ b/hypr/hyprscratch.conf @@ -0,0 +1,125 @@ +# Optional globals that apply to all scratchpads +daemon_options = clean + +global_rules = size 50% 50% + +sphtop { + # Mandatory fields + title = sphtop + command = st -t sphtop htop + + # Optional fields + options = lazy + options = special +} + +spterm { + # Mandatory fields + title = spterm + command = st -t spterm + + # Optional fields + options = lazy + options = special +} + +sppmxr { + # Mandatory fields + title = sppmxr + command = st -t sppmxr pulsemixer + + # Optional fields + options = lazy + options = special +} + +spblue { + # Mandatory fields + title = spblue + command = st -t spblue bluetoothctl + + # Optional fields + options = lazy + options = special +} + +spncmp { + # Mandatory fields + title = spncmp + command = st -t spncmp ncmpcpp + + # Optional fields + options = lazy + options = special +} + +spmutt { + # Mandatory fields + title = spmutt + command = st -t spmutt neomutt + + # Optional fields + options = lazy + options = special +} + +spprof { + # Mandatory fields + title = spprof + command = st -t spprof profanity + + # Optional fields + options = lazy + options = special +} + +spirss { + # Mandatory fields + title = spirss + command = st -t spirss irssi + + # Optional fields + options = lazy + options = special +} + +sptodo { + # Mandatory fields + title = sptodo + command = st -t sptodo todo + + # Optional fields + options = lazy + options = special +} + +sptrmc { + # Mandatory fields + title = sptrmc + command = st -t sptrmc tremc + + # Optional fields + options = lazy + options = special +} + +helvum { + # Mandatory fields + title = Helvum - Pipewire Patchbay + command = helvum + + # Optional fields + options = lazy + options = special +} + +easyeffects { + # Mandatory fields + title = Easy Effects + command = easyeffects + + # Optional fields + options = lazy + options = special +} + diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml index 5c1d343..cacd7f1 100644 --- a/hypr/pyprland.toml +++ b/hypr/pyprland.toml @@ -1,103 +1,5 @@ [pyprland] plugins = [ - "scratchpads", "toggle_special", "expose" ] - -[scratchpads.sphtop] -animation = "" -command = "st -c sphtop htop" -class = "sphtop" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.spterm] -animation = "" -command = "st -c spterm" -class = "spterm" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.sppmxr] -animation = "" -command = "st -c sppmxr pulsemixer" -class = "sppmxr" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.spblue] -animation = "" -command = "st -c spblue bluetoothctl" -class = "spblue" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.spncmp] -animation = "" -command = "st -c spncmp ncmpcpp" -class = "spncmp" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.spmutt] -animation = "" -command = "st -c spmutt neomutt" -class = "spmutt" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.spprof] -animation = "" -command = "st -c spprof profanity" -class = "spprof" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.spirss] -animation = "" -command = "st -c spirss irssi" -class = "spirss" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.sptodo] -animation = "" -command = "st -c sptodo todo" -class = "sptodo" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.sptrmc] -animation = "" -command = "st -c sptrmc tremc" -class = "sptremc" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.helvum] -animation = "" -command = "helvum" -class = "org.pipewire.Helvum" -lazy = true -size = "50% 50%" -position = "25% 25%" - -[scratchpads.easyeffects] -animation = "" -command = "flatpak run com.github.wwmm.easyeffects" -class = "com.github.wwmm.easyeffects" -lazy = true -size = "75% 75%" -position = "25% 25%" -unfocus = "hide" -- cgit v1.2.3 From fcec167357afd7831341bcf8a817a3a466ffadca Mon Sep 17 00:00:00 2001 From: ZachIR Date: Tue, 22 Jul 2025 23:01:33 -0500 Subject: Use hyprscrolling focus not movefocus --- hypr/hyprland.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hypr') diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index ae57071..3e9547a 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -243,10 +243,10 @@ bind = $mainMod+SHIFT, H, layoutmsg, movewindowto l #HYPRSCROLLING bind = $mainMod+SHIFT, L, layoutmsg, movewindowto r #HYPRSCROLLING bind = $mainMod+SHIFT, J, layoutmsg, colresize -conf #HYPRSCROLLING bind = $mainMod+SHIFT, K, layoutmsg, colresize +conf #HYPRSCROLLING -bind = $mainMod, H, movefocus, l #HYPRSCROLLING -bind = $mainMod, J, movefocus, u #HYPRSCROLLING -bind = $mainMod, K, movefocus, d #HYPRSCROLLING -bind = $mainMod, L, movefocus, r #HYPRSCROLLING +bind = $mainMod, H, layoutmsg, focus l #HYPRSCROLLING +bind = $mainMod, J, layoutmsg, focus u #HYPRSCROLLING +bind = $mainMod, K, layoutmsg, focus d #HYPRSCROLLING +bind = $mainMod, L, layoutmsg, focus r #HYPRSCROLLING bind = $mainMod+SHIFT, Return, layoutmsg, promote #HYPRSCROLLING #}}} -- cgit v1.2.3