feat: new waybar

This commit is contained in:
2025-12-24 21:05:33 +03:00
parent bf659ad824
commit 4f5c9fa3d5
8 changed files with 587 additions and 46 deletions

View File

@@ -23,7 +23,6 @@ $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 -c "$HOME/.config/waybar/config_top.jsonc" -s "$HOME/.config/waybar/style_top.css" &
$mpdpass = kapuchinamusica
@@ -41,8 +40,7 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
# exec-once = hyprpaper
exec-once = swww-daemon
exec-once = ~/.config/hypr/scripts/autofreeze_swww.sh
exec-once = $waybar
exec-once = $dock
exec-once = ~/.config/waybar/run.sh
exec-once = swaync
exec-once = hypridle
exec-once = hyprsunset
@@ -58,10 +56,6 @@ exec-once = touch /tmp/toggle_ssocks
exec-once = ~/.config/hypr/scripts/toggle_proxy.sh
exec-once = nextcloud --background &
exec-once = [workspace 8 silent] AyuGram
# exec-once = [workspace 7 silent] superproductivity
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
#############################
### ENVIRONMENT VARIABLES ###
@@ -99,7 +93,7 @@ env = HYPRCURSOR_SIZE,24
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 12.5
gaps_out = 20
gaps_out = 12
border_size = 1
@@ -514,8 +508,8 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
# Toggle waybar & dock
bind = $mainMod SHIFT, B, exec, ~/.config/hypr/scripts/toggle_waybar.sh
# Toggle waybar
bind = $mainMod SHIFT, B, exec, ~/.config/waybar/run.sh toggle
# Toggle grayscale mode
bind = $mainMod CTRL, G, exec, ~/.config/hypr/scripts/grayscale-toggle.sh
@@ -711,11 +705,6 @@ layerrule = blur, waybar
layerrule = ignorealpha 0.6, waybar
layerrule = animation slide top, waybar
# nwg-dock
layerrule = ignorezero, nwg-dock
layerrule = blur, nwg-dock
layerrule = animation slide bottom, nwg-dock
# Adjustments for certain workspaces
workspace = special:magic, gapsin:20, gapsout:50, shadow:false
workspace = 9, gapsin:15, gapsout:40