feat(hypr): add nwg-dock autostart and MPD control submap;

feat(hypr): add window swallowing for kitty and Steam workspace rules;
feat(waybar): create minimal config for gamemode and add notification panel button;
refactor(waybar): simplify config, merge memory/swap displays, update workspace icons;
refactor(swaync): remove CPU slider and adjust button styling;
experiment(hypr): increase vibrancy and change screenshot sound;
experiment(rmpc): update progress bar symbols;
fix(rofi): add mouse support to all menu configurations;
chore(hypr): update gamemode script to toggle minimal waybar
This commit is contained in:
2025-12-21 22:00:37 +03:00
parent 114f1cde7c
commit c9795e2514
13 changed files with 321 additions and 139 deletions

View File

@@ -1,11 +1,28 @@
#!/usr/bin/env sh
STATUSBAR="waybar"
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
if [ "$HYPRGAMEMODE" = 1 ] ; then
hyprctl --batch "\
keyword animations:enabled 0;\
keyword decoration:shadow:enabled 0;\
keyword decoration:blur:enabled 0;\
keyword decoration:blur:ignore_opacity 1;\
keyword decoration:blur:new_optimizations 1;\
keyword decoration:blur:xray 1;\
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" &
fi
exit
fi
if pgrep $STATUSBAR > /dev/null; then
pkill $STATUSBAR
waybar -c "$HOME/.config/waybar/config.jsonc" &
fi
hyprctl reload

View File

@@ -1,9 +1,9 @@
#!/bin/sh
PROGRAM="waybar"
if pgrep -x "$PROGRAM" > /dev/null; then
pkill -x $PROGRAM
if pgrep -x waybar > /dev/null; then
pkill -x waybar
pkill -x nwg-dock-hyprla
else
GTK_THEME="Simply_Circles_Dark" $PROGRAM &
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" &
fi