summaryrefslogtreecommitdiff
path: root/hypr
diff options
context:
space:
mode:
Diffstat (limited to 'hypr')
-rw-r--r--hypr/hypridle.conf4
-rw-r--r--hypr/hyprland.conf54
-rw-r--r--hypr/hyprscratch.conf20
3 files changed, 53 insertions, 25 deletions
diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf
index 3a58aea..ea40f1f 100644
--- a/hypr/hypridle.conf
+++ b/hypr/hypridle.conf
@@ -13,8 +13,8 @@ listener {
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
listener {
timeout = 150 # 2.5min.
- on-timeout = brightnessctl -d led::kbd_backlight set 0 # turn off keyboard backlight.
- on-resume = brightnessctl -rd led::kbd_backlight # turn on keyboard backlight.
+ on-timeout = brightnessctl -d system76::kbd_backlight set 0 # turn off keyboard backlight.
+ on-resume = brightnessctl -rd system76::kbd_backlight # turn on keyboard backlight.
}
listener {
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 3e9547a..bfaa36c 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -105,7 +105,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
@@ -203,10 +203,28 @@ 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
+windowrule = fullscreen, class:^(Xephyr)$
+windowrule = float, title:^(LibreWolf - Choose User Profile)$
+windowrule = float, class:^(xdg-desktop-portal-gtk)
+windowrule = float, title:^(UNDERTALE)$
+windowrule = float, class:^(Tk)$
+windowrule = float, class:^(lxqt-policykit-agent)$
+windowrule = float, class:^(Kdenlive)$
+windowrule = stayfocused, title:^()$, class:^(steam)$
+windowrule = minsize 1 1, title:^()$, class:^(steam)$
+windowrule = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrule = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrule = float, class:^(yabridge-host.exe.so)$, title:^(menu)$
+windowrule = float, floating:0, title:^(menu*)
+windowrule = workspace 2, title:^(REAPER .*initializing.*)$
+windowrule = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$
+windowrule = tile, class:^(WebApp-Qobuz[0-9]*)$
+windowrule = float, title:^(menu)$
+windowrule = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$
#}}}
#{{{ Mods
@@ -239,17 +257,26 @@ $secdMod = ALT
# hyprscrolling layout binds
#bind = $mainMod+SHIFT, H, layoutmsg, move -1 #HYPRSCROLLING
#bind = $mainMod+SHIFT, L, layoutmsg, move +1 #HYPRSCROLLING
-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+ALT, H, layoutmsg, movewindowto l #HYPRSCROLLING
+bind = $mainMod+ALT, L, layoutmsg, movewindowto r #HYPRSCROLLING
+bind = $mainMod+SHIFT, H, movewindow, l #HYPRSCROLLING
+bind = $mainMod+SHIFT, L, movewindow, r #HYPRSCROLLING
+bind = $mainMod+SHIFT, K, movewindow, u #HYPRSCROLLING
+bind = $mainMod+SHIFT, J, movewindow, d #HYPRSCROLLING
bind = $mainMod, H, layoutmsg, focus l #HYPRSCROLLING
-bind = $mainMod, J, layoutmsg, focus u #HYPRSCROLLING
-bind = $mainMod, K, layoutmsg, focus d #HYPRSCROLLING
+bind = $mainMod, J, layoutmsg, focus d #HYPRSCROLLING
+bind = $mainMod, K, layoutmsg, focus u #HYPRSCROLLING
bind = $mainMod, L, layoutmsg, focus r #HYPRSCROLLING
+bind = $mainMod+SHIFT, R, layoutmsg, colresize +conf #HYPRSCROLLING
bind = $mainMod+SHIFT, Return, layoutmsg, promote #HYPRSCROLLING
#}}}
+#{{{ tab binds
+bind = $mainMod+ALT, O, togglegroup
+bind = $mainMod+ALT, J, changegroupactive, f
+bind = $mainMod+ALT, K, changegroupactive, b
+#}}}
+
#{{{ Group binds
# Group binds
#bind = $mainMod CONTROL, G, togglegroup,
@@ -369,8 +396,9 @@ submap = reset
#}}}
#{{{ Menu bindings
-bind = $mainMod, R, exec, sh -c "tofi-drun --drun-launch=true -c $HOME/.config/tofi/themes/dmenu_vertical"
+bind = $mainMod, E, exec, sh -c "tofi-drun --drun-launch=true -c $HOME/.config/tofi/themes/dmenu_vertical"
bind = $mainMod, D, exec, sh -c "$(tofi-run -c $HOME/.config/tofi/themes/dmenu_vertical)"
+bind = $mainMod, R, exec, rs
bind = $mainMod $secdMod, Q, exec, qbc
bind = $mainMod $secdMod, W, exec, lwc
bind = $mainMod $secdMod, E, exec, mbc
@@ -384,14 +412,14 @@ 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 lf
bind = $mainMod, W, exec, pkill -USR1 waybar
bind = $mainMod, Q, exec, loginctl lock-session
bind = $mainMod $secdMod CONTROL, Q, exec, systemctl suspend
bind = $mainMod SHIFT, G, exec, get-app-id
bind = $mainMod Control, M, exec, volsv -m
-bind = $mainMod, Comma, exec, acpi-notify.sh
+#bind = $mainMod, Comma, exec, acpi-notify.sh
#bind = $mainMod CONTROL, R, exec, startx -- /usr/bin/Xephyr -screen 1920x1080 :1
#}}}
diff --git a/hypr/hyprscratch.conf b/hypr/hyprscratch.conf
index ce73d98..4274dcd 100644
--- a/hypr/hyprscratch.conf
+++ b/hypr/hyprscratch.conf
@@ -6,7 +6,7 @@ global_rules = size 50% 50%
sphtop {
# Mandatory fields
title = sphtop
- command = st -t sphtop htop
+ command = kitty -T sphtop htop
# Optional fields
options = lazy
@@ -16,7 +16,7 @@ sphtop {
spterm {
# Mandatory fields
title = spterm
- command = st -t spterm
+ command = kitty -T spterm
# Optional fields
options = lazy
@@ -26,7 +26,7 @@ spterm {
sppmxr {
# Mandatory fields
title = sppmxr
- command = st -t sppmxr pulsemixer
+ command = kitty -T sppmxr pulsemixer
# Optional fields
options = lazy
@@ -36,7 +36,7 @@ sppmxr {
spblue {
# Mandatory fields
title = spblue
- command = st -t spblue bluetoothctl
+ command = kitty -T spblue bluetoothctl
# Optional fields
options = lazy
@@ -46,7 +46,7 @@ spblue {
spncmp {
# Mandatory fields
title = spncmp
- command = st -t spncmp ncmpcpp
+ command = kitty -T spncmp ncmpcpp
# Optional fields
options = lazy
@@ -56,7 +56,7 @@ spncmp {
spmutt {
# Mandatory fields
title = spmutt
- command = st -t spmutt neomutt
+ command = kitty -T spmutt neomutt
# Optional fields
options = lazy
@@ -66,7 +66,7 @@ spmutt {
spprof {
# Mandatory fields
title = spprof
- command = st -t spprof profanity
+ command = kitty -T spprof profanity
# Optional fields
options = lazy
@@ -76,7 +76,7 @@ spprof {
spirss {
# Mandatory fields
title = spirss
- command = st -t spirss irssi
+ command = kitty -T spirss irssi
# Optional fields
options = lazy
@@ -86,7 +86,7 @@ spirss {
sptodo {
# Mandatory fields
title = sptodo
- command = st -t sptodo todo
+ command = kitty -T sptodo todo
# Optional fields
options = lazy
@@ -96,7 +96,7 @@ sptodo {
sptrmc {
# Mandatory fields
title = sptrmc
- command = st -t sptrmc tremc
+ command = kitty -T sptrmc tremc
# Optional fields
options = lazy