summaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/hyprland.conf')
-rw-r--r--hypr/hyprland.conf156
1 files changed, 51 insertions, 105 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 2ce53ed..aa0d558 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -16,17 +16,16 @@ 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'
exec-once = import-gsettings cursor-theme 'BreezeX-Black'
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
exec-once = xrdb -load "$XDG_CONFIG_HOME"/X11/xresources
-exec-once = com.github.wwmm.easyeffects
-#exec-once = systemctl --user start dunst
-#exec-once = systemctl --user start hypridle
-exec-once = dunst
-exec-once = hypridle
+exec-once = easyeffects
+exec-once = systemctl --user start dunst
+exec-once = systemctl --user start hypridle
#exec-once = mpd
#}}}
@@ -108,7 +107,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
@@ -142,7 +141,7 @@ decoration {
#{{{ Animations options
animations {
- enabled = no
+ enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
@@ -178,16 +177,6 @@ master {
}
#}}}
-#{{{ Hyprscrolling layout options
-plugin:hyprscrolling {
- fullscreen_on_one_column = true
- column_width = 0.5
- explicit_column_widths = 0.333, 0.5, 0.667, 1.0
- focus_fit_method = 1
- follow_focus = true
-}
-#}}}
-
#{{{ Gestures options
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
@@ -201,14 +190,22 @@ plugin {
num_workspaces = 9
persistent_workspaces = true
}
+
+ hyprscrolling {
+ fullscreen_on_one_column = true
+ column_width = 0.5
+ explicit_column_widths = 0.333, 0.5, 0.667, 1.0
+ focus_fit_method = 1
+ follow_focus = true
+ }
}
#}}}
#{{{ 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
windowrulev2 = float, class:^(lxqt-policykit-agent)$
windowrulev2 = tile, class:^(REAPER)$, title:^(REAPER v[0-9.]* - Registered to [A-Za-z ]* \(Licensed for personal/small business use\))$
@@ -218,6 +215,7 @@ windowrulev2 = move onscreen cursor -50% -50%, title:^(menu)$
windowrulev2 = move cursor,class:REAPER,floating:1
windowrulev2 = nofocus,class:REAPER,title:^(menu)$
windowrulev2 = nofocus,class:REAPER,title:^$
+windowrulev2 = workspace special:easyeffects silent, class: ^(com\.github\.wwmm\.easyeffects)$
#}}}
#{{{ Mods
@@ -250,17 +248,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, H, movefocus, l #HYPRSCROLLING
-bind = $mainMod, J, movefocus, u #HYPRSCROLLING
-bind = $mainMod, K, movefocus, d #HYPRSCROLLING
-bind = $mainMod, L, movefocus, r #HYPRSCROLLING
+bind = $mainMod+CTRL, H, layoutmsg, movewindowto l #HYPRSCROLLING
+bind = $mainMod+CTRL, 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 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,
@@ -380,8 +387,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
@@ -395,92 +403,30 @@ 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
#}}}
#{{{ 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