feat: add new waybar top configuration with separate config and style files;

feat: add waybar colors.css for centralized color definitions;
experiment: change cava visual style to solid blue foreground and disable gradient;
chore: remove nwg-dock-hyprland from hyprland autostart and toggle scripts;
refactor: update waybar launch commands to use new config_top.jsonc and style_top.css;
refactor: simplify gamemode.sh by removing STATUSBAR variable and updating waybar commands;
chore: add placeholder config_bottom.jsonc and style_bottom.css for future dual-bar setup
This commit is contained in:
2025-12-23 16:55:58 +03:00
parent c9795e2514
commit 9faceb2309
11 changed files with 173 additions and 357 deletions

View File

@@ -1,6 +1,4 @@
#!/usr/bin/env sh
STATUSBAR="waybar"
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then
hyprctl --batch "\
@@ -13,16 +11,17 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
keyword decoration:active_opacity 1;\
keyword plugin:hyprfocus:fade_opacity 1"
if pgrep $STATUSBAR > /dev/null; then
pkill $STATUSBAR
waybar -c "$HOME/.config/waybar/config_minimal.jsonc" &
if pgrep waybar > /dev/null; then
pkill waybar
# TODO: lite waybar version
waybar -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
fi
exit
fi
if pgrep $STATUSBAR > /dev/null; then
pkill $STATUSBAR
waybar -c "$HOME/.config/waybar/config.jsonc" &
if pgrep waybar > /dev/null; then
pkill waybar
waybar -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
fi
hyprctl reload