From 973360fcdf3983a1d56feb58fd0dbe74bcc7de51 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Tue, 5 Nov 2024 23:07:19 +0100 Subject: [PATCH] hypr: use wb to control waybar plus some fixes --- dot-config/hypr/fragments/keybinds.conf | 7 ++++--- dot-config/hypr/hyprland.conf | 7 ++++--- dot-config/hypr/scripts/gamemode.sh | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/dot-config/hypr/fragments/keybinds.conf b/dot-config/hypr/fragments/keybinds.conf index 0bd794ea..8c544cee 100644 --- a/dot-config/hypr/fragments/keybinds.conf +++ b/dot-config/hypr/fragments/keybinds.conf @@ -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 diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 56e6b800..9b6290af 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -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 } diff --git a/dot-config/hypr/scripts/gamemode.sh b/dot-config/hypr/scripts/gamemode.sh index 486d75e9..3db4481d 100755 --- a/dot-config/hypr/scripts/gamemode.sh +++ b/dot-config/hypr/scripts/gamemode.sh @@ -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 -- 2.51.2