mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 20:20:41 +00:00
Rewrite xmobar config
This commit is contained in:
parent
d80d5abfab
commit
41c35f8101
4 changed files with 302 additions and 137 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue