Adds hidden waybar that shows up when pressing SUPER

This commit is contained in:
Michel Fedde 2025-03-18 19:26:34 +01:00
parent 9ad2e5d608
commit 694430f24b
10 changed files with 195 additions and 270 deletions

View file

@ -11,11 +11,10 @@ animations {
bezier = smoothIn, 0.5, -0.5, 0.68, 1.5
animation = windows, 1, 6, wind, slide
animation = windowsIn, 1, 5, winIn, slide
animation = windowsOut, 1, 3, smoothOut, slide
animation = windowsIn, 1, 2, winIn, slide
animation = windowsOut, 1, 2, smoothOut, slide
animation = windowsMove, 1, 5, wind, slide
animation = border, 1, 1, liner
animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors
animation = fade, 1, 3, smoothOut
animation = workspaces, 1, 5, overshot

View file

@ -24,6 +24,9 @@ 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
# Move focus with mainMod + LHKJ
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
@ -77,8 +80,8 @@ bind = $mainMod, bracketright, workspace, e+1
bind = $mainMod, bracketleft, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bindm = $mainMod SHIFT, mouse:272, movewindow
bindm = $mainMod SHIFT, mouse:273, resizewindow
# Stuff
bind = $mainMod SHIFT, C, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi
@ -110,3 +113,5 @@ bind = ALT, Tab, exec, hyprswitch gui --mod-key alt --key tab
bind = $mainMod, Return, exec, $term #terminal
bind = $mainMod Shift, Return, exec, hyprdrop ghostty --identifier term_hyprdrop
bind = $mainMod, T, exec, $files #file manager
bind = $mainMod, R, focusurgentorlast

View file

@ -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 &

View file

@ -1,4 +1,3 @@
render {
explicit_sync = 2
explicit_sync_kms = 2