committing random WM stuff

This commit is contained in:
2026-03-24 00:03:59 +01:00
parent a7c0018684
commit cb15e83811
70 changed files with 5428 additions and 1 deletions

18
toggle_bar.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
## Copyright (C) 2024
##
## Script to toggle waybar visibility in Hyprland
# Check if waybar is running
if pgrep -x "waybar" > /dev/null; then
# If waybar is running, kill it
killall -q waybar
notify-send -h string:x-canonical-private-synchronous:sys-notify -u low "Waybar Disabled"
else
# If waybar is not running, start it with the config files
CONFIG="$HOME/.config/hypr/waybar/config"
STYLE="$HOME/.config/hypr/waybar/style.css"
waybar --bar main-bar --log-level error --config ${CONFIG} --style ${STYLE} &
notify-send -h string:x-canonical-private-synchronous:sys-notify -u low "Waybar Enabled"
fi