summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-07-20 11:17:27 -0500
committerzachir <zachir@librem.one>2024-07-20 11:20:21 -0500
commitce32f1c3a3aad10971bdc0fd18a27c4a89768ec8 (patch)
tree3d3328823c9f66d1ef7968ae55485f6dc7f812f5
parentd0c37b0eb7f2e3343aa504a4fe4c4c38692293bc (diff)
Improve hypr config basics
Simplify the swallow_exception_regex, turn off drop_shadow, and change `exec sh -c' for tofi to `sh -c'.
-rw-r--r--hypr/hyprland.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index c8ab688..652d4e1 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -98,7 +98,7 @@ misc {
disable_splash_rendering = true
enable_swallow = true
swallow_regex = ^(kitty)$
- swallow_exception_regex = ^(.*)(ueberzug)$
+ swallow_exception_regex = ^(.*ueberzug)$
vfr = true
vrr = 1
}
@@ -108,7 +108,7 @@ misc {
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10
- drop_shadow = yes
+ drop_shadow = no
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
@@ -326,8 +326,8 @@ submap = reset
#}}}
#{{{ Menu bindings
-bind = $mainMod, R, exec, exec sh -c "$(tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)"
-bind = $mainMod, D, exec, exec sh -c "$(tofi-run -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)"
+bind = $mainMod, R, exec, sh -c "$(tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)"
+bind = $mainMod, D, exec, sh -c "$(tofi-run -c ~/.config/tofi/themes/dmenu_vertical --prompt-text Run:)"
bind = $mainMod $secdMod, Q, exec, qbc
bind = $mainMod $secdMod, W, exec, lwc
bind = $mainMod $secdMod, E, exec, mbc