Everywhere: Add Hyprland Wayland config
This commit is contained in:
@@ -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
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Kill existing panel
|
||||
pkill --exact --signal 9 waybar
|
||||
|
||||
# Start panel
|
||||
setsid -f waybar
|
||||
Reference in New Issue
Block a user