]> Freerunner's - dotfiles.git/commitdiff
hypr: use wb to control waybar plus some fixes
authorAndre Ramnitz <tux.rising@gmail.com>
Tue, 5 Nov 2024 22:07:19 +0000 (23:07 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Tue, 5 Nov 2024 22:07:19 +0000 (23:07 +0100)
dot-config/hypr/fragments/keybinds.conf
dot-config/hypr/hyprland.conf
dot-config/hypr/scripts/gamemode.sh

index 0bd794eac2a086621e2b8571f1147b741a5b63a3..8c544cee3f3669046a59675ca915239439f18efc 100644 (file)
@@ -13,8 +13,8 @@ bind = $mainmod, D, exec, dolphin
 bind = $mainmod, E, exec, footclient -a lf lfrun
 bind = $mainmod, F, fullscreen,1
 bind = $mainmod Shift, F, fullscreen,0
-bind = $mainmod, V, exec, killall fuzzel || cliphist list | fuzzel -d --config="$HOME"/.config/fuzzel/fuzzel-centered.ini | cliphist decode | wl-copy
-bind = $mainmod Shift, V, togglefloating
+bind = $mainmod Shift, V, exec, killall fuzzel || cliphist list | fuzzel -d --config="$HOME"/.config/fuzzel/fuzzel-centered.ini | cliphist decode | wl-copy
+bind = $mainmod, V, togglefloating
 bind = $mainmod, R, exec, killall fuzzel || fuzzel
 bind = $mainmod Shift, R, exec, killall fuzzel || fuzzel --config="$HOME"/.config/fuzzel/fuzzel-centered.ini
 # bind = $mainmod Shift, R, exec, killall rofi || rofi -show run # rofi installed for keepassxc-browser script
@@ -24,7 +24,8 @@ bind = $mainmod, S, togglesplit, # dwindle
 bind = $mainmod Shift, S, swapsplit, # dwindle
 bind = $mainmod SHIFT, S, layoutmsg, preselect d # dwindle
 bind = $mainmod, G, togglegroup
-bind = $mainmod, W, exec, pkill -SIGUSR1 waybar
+bind = $mainmod, W, exec, $HOME/.local/bin/wb hide
+bind = $mainmod SHIFT, W, exec, $HOME/.local/bin/wb reload
 bind = $mainmod SHIFT, G, lockactivegroup, toggle
 bind = $mainmod, TAB, exec, ~/.config/hypr/scripts/windowswitch-rg.sh
 bind = $mainmod, grave, exec, ~/.config/hypr/scripts/RofiEmoji.sh
index 56e6b8007afc683b3b7a59d80bf6b63932439f7b..9b6290af9a6900b5986244135f40c05d393df0f7 100644 (file)
@@ -21,9 +21,10 @@ xwayland {
 # See https://wiki.hyprland.org/Configuring/Keywords/ for more
 env = AMD_VULKAN_ICD=RADV
 env = XDG_CURRENT_DESKTOP,Hyprland
-env = XDG_SESSION_TYPE,wayland
 env = XDG_SESSION_DESKTOP,Hyprland
+env = XDG_SESSION_TYPE,wayland
 exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
+exec-shutdown = setenv WAYLAND_DISPLAY= XDG_SESSION_TYPE= XDG_CURRENT_DESKTOP=
 
 # Some default env vars.
 env = QT_QPA_PLATFORM,wayland;xcb
@@ -114,8 +115,8 @@ decoration {
     rounding = 8
     blur {
         enabled = true
-        size = 2
-        passes = 1
+        size = 3
+        passes = 2
         vibrancy = 0.1696
                ignore_opacity = true
     }
index 486d75e96103fc28da7d7c116984efe3df05b25e..3db4481d47b519dd145b579395e923a9b93d96b6 100755 (executable)
@@ -7,7 +7,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
         keyword decoration:blur:enabled 0;\
         keyword general:gaps_in 0;\
         keyword general:gaps_out 0;\
-        keyword general:border_size 1;\
+        keyword general:border_size 2;\
         keyword decoration:rounding 0"
     exit
 fi