mirror of
https://github.com/FAUSheppy/config
synced 2025-12-11 00:58:33 +01:00
removed unessesary comments
This commit is contained in:
@@ -116,16 +116,10 @@ hc pad $monitor $panel_height
|
|||||||
done
|
done
|
||||||
echo -n "$separator"
|
echo -n "$separator"
|
||||||
echo -n "^bg()^fg() ${windowtitle//^/^^}"
|
echo -n "^bg()^fg() ${windowtitle//^/^^}"
|
||||||
# small adjustments
|
|
||||||
|
####################### Interface to python layer #########################
|
||||||
powersupply
|
|
||||||
#pwr="NO BATTERY"
|
|
||||||
#if [ $HOSTNAME == atlantislaptop ] || [$HOSTNAME == atlantismedion ] ; then
|
|
||||||
# pwr="$(acpi -b | sed -r 's/Battery [0-9]+: //')"
|
|
||||||
#fi
|
|
||||||
|
|
||||||
right="$($HOME/.config/herbstluftwm/panel_content.py) $date"
|
right="$($HOME/.config/herbstluftwm/panel_content.py) $date"
|
||||||
#right="^fg(#32CD32) Druckerguthaben: -256 Euro^bg() ^fg(#ff0000) $separator^bg() $date $separator"
|
|
||||||
right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g')
|
right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g')
|
||||||
# get width of right aligned text.. and add some space..
|
# get width of right aligned text.. and add some space..
|
||||||
width=$($textwidth "$font" "$right_text_only ")
|
width=$($textwidth "$font" "$right_text_only ")
|
||||||
|
|||||||
Reference in New Issue
Block a user