Everywhere: Add Hyprland Wayland config

This commit is contained in:
Riyyi
2025-02-09 22:46:46 +01:00
parent f0835c1a06
commit 6e50e217c3
35 changed files with 1151 additions and 94 deletions
+6 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
file="/tmp/polybar-btc-module"
file="/tmp/panel-btc-module"
# Enable mathematics in POSIX shell
calc() { awk "BEGIN { printf(\"%.2f\", $*) }"; }
@@ -27,7 +27,12 @@ output() {
fi
# Result
# >>> session=xorg
echo "%{F$color}$symbol $difference%%{F$COLOR15}"
# <<<
# >>> session=wayland
# echo "<span color='$color'>$symbol $difference%</span>"
# <<<
}
if [ ! -f "$file" ]; then
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# Kill existing panel
pkill --exact --signal 9 waybar
# Start panel
setsid -f waybar