From 0ab1b7df68ea4ea512c003868a3b68339d9bd859 Mon Sep 17 00:00:00 2001 From: Michel Fedde Date: Tue, 18 Mar 2025 22:45:04 +0100 Subject: [PATCH] Improved waybar handling for hidden config --- .config/hypr/config/Keybinds.conf | 4 ++-- .config/hypr/config/Startup_Apps.conf | 2 +- .config/waybar/configurations/hidden.json | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/hypr/config/Keybinds.conf b/.config/hypr/config/Keybinds.conf index d6d7809..e8f07b1 100644 --- a/.config/hypr/config/Keybinds.conf +++ b/.config/hypr/config/Keybinds.conf @@ -24,8 +24,8 @@ bindl = , xf86AudioNext, exec, $scriptsDir/MediaCtrl.sh --nxt bindl = , xf86AudioPrev, exec, $scriptsDir/MediaCtrl.sh --prv bindl = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop -bindtn = , $mainMod_L, exec, waybar -c ~/.config/waybar/configurations/hidden.json & -bindtrn = $mainMod, $mainMod_L, exec, pkill waybar | pkill pactl +bindtn = , $mainMod_L, exec, killall -SIGUSR1 waybar +bindtrn = $mainMod, $mainMod_L, exec, killall -SIGUSR1 waybar # Move focus with mainMod + LHKJ bind = $mainMod, H, movefocus, l diff --git a/.config/hypr/config/Startup_Apps.conf b/.config/hypr/config/Startup_Apps.conf index 9bff6df..0c13d53 100644 --- a/.config/hypr/config/Startup_Apps.conf +++ b/.config/hypr/config/Startup_Apps.conf @@ -15,7 +15,7 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK exec-once = $scriptsDir/Polkit.sh # starup apps -# exec-once = waybar & +exec-once = waybar & exec-once = nm-applet --indicator & exec-once = swaync & exec-once = ags & diff --git a/.config/waybar/configurations/hidden.json b/.config/waybar/configurations/hidden.json index 80a7e3f..8c688e4 100644 --- a/.config/waybar/configurations/hidden.json +++ b/.config/waybar/configurations/hidden.json @@ -9,6 +9,7 @@ "reload_style_on_change": true, "name": "semi-hidden", "id": "semi-hidden", + "start_hidden": true, "margin-top": 0 }