Rewrite xmobar config

This commit is contained in:
ItsDrike 2021-07-16 05:10:11 +02:00
parent d80d5abfab
commit 41c35f8101
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
4 changed files with 302 additions and 137 deletions

View file

@ -12,7 +12,7 @@ WORK_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/xmobar"
make_position_line(){
xpos=$(($1 * $WIDTH))
line=", position = Static { xpos = $xpos, ypos = 0, width = $WIDTH, height = 24 }"
line="position = Static { xpos = $xpos, ypos = 0, width = $WIDTH, height = 24 },"
echo "$line"
}