1
0
Fork 0

feat: migrate to i3blocks and autotiling-rs

This commit is contained in:
Oliver Ladner 2026-03-01 14:11:51 +01:00
commit 487870a473
14 changed files with 512 additions and 7 deletions

View file

@ -0,0 +1,33 @@
#!/usr/bin/env bash
#
# Shared utilities for i3blocks scripts.
# Source this file to get color variables and the icon() helper.
# Colors are available immediately on source — no function call needed.
# Generic
ok_fg="#f0f0f0"
warn1_bg="#facc15"
warn1_fg="#36454f"
warn2_bg="#cc8d22"
warn2_fg="#36454f"
crit_bg="#710f3d"
crit_fg="#c0c8c6"
# Audio
mute_bg="#303030"
mute_fg="#e0e0e0"
# Weather
frost_bg="#5b8dd9"
frost_fg="#f0f0f0"
cold_bg="#7ec8e3"
cold_fg="#1a1a2e"
warm_bg="#facc15"
warm_fg="#36454f"
hot_bg="#cc3300"
hot_fg="#f0f0f0"
# Wrap a glyph in Pango markup for consistent icon sizing and vertical alignment
icon() {
echo "<span size='xx-large' rise='-4096'>$1</span>"
}