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:
@@ -23,10 +23,9 @@ $powermodemenu = $HOME/.config/rofi/scripts/dmenu_powermodemenu.sh
|
||||
$browser = env GTK_THEME=Adwaita:light zen-browser
|
||||
$privateBrowser = env GTK_THEME=Adwaita:light zen-browser --private-window
|
||||
$notificationCenter = pkill rofi & swaync-client -t -sw || notify-send --hint int:transient:1 "Error SwayNC is down"
|
||||
$waybar = GTK_THEME="Simply_Circles_Dark" waybar
|
||||
$waybar = GTK_THEME="Simply_Circles_Dark" waybar -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
|
||||
|
||||
$mpdpass = kapuchinamusica
|
||||
$dock = nwg-dock-hyprland -i 25 -w 12 -hi -x -ico view_icon -c "$HOME/.config/rofi/launchers/type-1/launcher.sh"
|
||||
|
||||
#################
|
||||
### AUTOSTART ###
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
if pgrep -x waybar > /dev/null; then
|
||||
pkill -x waybar
|
||||
pkill -x nwg-dock-hyprla
|
||||
else
|
||||
GTK_THEME="Simply_Circles_Dark" waybar &
|
||||
nwg-dock-hyprland -i 25 -w 12 -hi -x -ico view_icon -c "$HOME/.config/rofi/launchers/type-1/launcher.sh" &
|
||||
GTK_THEME="Simply_Circles_Dark" waybar -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user