diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-05-15 23:21:16 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-05-15 23:21:16 +0200 |
commit | 32bef825ad19f1b8b332ee246e073636e4d04aec (patch) | |
tree | 547461a80d3efdf256f74c9103b940e3f7f1f723 /.config/leftwm/themes/basic_lemonbar/up | |
parent | 25319c7f838598679029193a3b2f9f6d28655f1a (diff) |
Removing bloat
Diffstat (limited to '.config/leftwm/themes/basic_lemonbar/up')
-rwxr-xr-x | .config/leftwm/themes/basic_lemonbar/up | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/.config/leftwm/themes/basic_lemonbar/up b/.config/leftwm/themes/basic_lemonbar/up deleted file mode 100755 index c8f49d1..0000000 --- a/.config/leftwm/themes/basic_lemonbar/up +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" - - -#down the last running theme -if [ -f "/tmp/leftwm-theme-down" ]; then - /tmp/leftwm-theme-down - rm /tmp/leftwm-theme-down -fi -ln -s $SCRIPTPATH/down /tmp/leftwm-theme-down - - -#boot compton or picom if it exists -if [ -x "$(command -v compton)" ]; then - compton &> /dev/null & -elif [ -x "$(command -v picom)" ]; then - picom &> /dev/null & -fi - -#set the theme.toml config -echo "LoadTheme $SCRIPTPATH/theme.toml" > $XDG_RUNTIME_DIR/leftwm/commands.pipe - - -#set background -if [ -x "$(command -v feh)" ]; then - feh --bg-scale $SCRIPTPATH/background.jpg -fi - - -#boot lemonbar and pipe the status of left into it -sizes=( $(leftwm-state -q -n -t $SCRIPTPATH/sizes.liquid | sed -r '/^\s*$/d') ) - -index=0 -for size in "${sizes[@]}" -do - leftwm-state -w $index -t $SCRIPTPATH/template.liquid | lemonbar -g $size -F#FFFFFFFF -B#AA222222& - let index=index+1 -done - |