personal dotfiles: my Hyprland config
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r--.config/hypr/hyprland.conf44
1 files changed, 27 insertions, 17 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 26ae7d3..ea559cc 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -2,16 +2,28 @@
monitor=,preferred,auto,auto
monitor=DSI-1,preferred,auto,2.66666
+misc:disable_hyprland_qtutils_check = true
+
+
+render {
+ explicit_sync = 0
+ explicit_sync_kms = 0
+ direct_scanout = false
+}
+# gnome 47 vulkan segfaults
+env = GSK_RENDERER,ngl
+
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
exec-once = swaybg -i ~/Pictures/background.jpg -m center
-exec-once = waybar
-exec-once = mako
-# config mako notifications with switch
+exec-once = sleep 2 && waybar
+exec-once = swaync
+# config ~~mako~~ swaync notifications with switch
exec-once = switch.sh
+exec-once = sysshell
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
@@ -27,7 +39,8 @@ $fileManager = dev.tchx84.Portfolio
$dmenu = bemenu --scrollbar autohide -s -n -w -c -l12 -M 40 -H 20 #--cb 22222288 --cf bbbbbb --tb 005577 --tf eeeeee --fb 22222288 --ff bbbbbb --nb 22222288 --af bbbbbb --ab 22222288 --nf bbbbbb --hb 005577 --hf eeeeee --scb 005577 --scf eeeeee --fbb eeeeee --fbf 22222288
#$menu = rofi -show drun
#$menu = exec $(j4-dmenu-desktop --no-generic --dmenu="$dmenu" --term="$terminal" --no-exec |sed 's/ -e/ --/g')
-$menu = nwggrid
+# $menu = nwggrid -s 70
+$menu = pkill -10 sysshell
$keyboard = wvkbd-mobintl
$keyboard_args = -l simple,specialpad -H 160 -O --bg 22222288 | swipeB
# starting the keyboard is bad because of a wvkbd bug where it burns CPU?
@@ -86,11 +99,6 @@ decoration {
size = 3
passes = 1
}
-
- drop_shadow = yes
- shadow_range = 4
- shadow_render_power = 3
- col.shadow = rgba(1a1a1aee)
}
animations {
@@ -116,7 +124,6 @@ dwindle {
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
- new_is_master = true
}
gestures {
@@ -136,13 +143,15 @@ misc {
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
}
-# Example windowrule v1
-# windowrule = float, ^(kitty)$
-# Example windowrule v2
-# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
-# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
-# windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
+# Swaync Blur
+layerrule = blur, swaync-control-center
+layerrule = blur, swaync-notification-window
+
+layerrule = ignorezero, swaync-control-center
+layerrule = ignorezero, swaync-notification-window
+layerrule = ignorealpha 0.5, swaync-control-center
+layerrule = ignorealpha 0.5, swaync-notification-window
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
@@ -202,7 +211,8 @@ bindm = $mainMod, mouse:273, resizewindow
bindi = , XF86AudioRaiseVolume, exec, $menu
# need a lock screen to avoid triggering this when screen is off.
#bindi = , XF86AudioRaiseVolume, exec, hyprctl dispatch submap menu; $menu; hyprctl dispatch submap reset
-bindi = , XF86AudioLowerVolume, exec, pkill -SIGRTMIN -f wvkbd-mobintl & pkill -SIGRTMIN -f suggpicker
+bindi = , XF86AudioLowerVolume, exec, pkill -SIGRTMIN -f suggpicker
+bindi = , XF86AudioLowerVolume, exec, pkill -SIGRTMIN -f wvkbd-mobintl
# if someone killed the keyboard, restart it
bindi =, XF86AudioLowerVolume, execr, pgrep $keyboard || $keyboard $keyboard_args