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 | |
parent | 25319c7f838598679029193a3b2f9f6d28655f1a (diff) |
Removing bloat
Diffstat (limited to '.config/leftwm/themes/basic_lemonbar')
-rw-r--r-- | .config/leftwm/themes/basic_lemonbar/background.jpg | bin | 294696 -> 0 bytes | |||
-rwxr-xr-x | .config/leftwm/themes/basic_lemonbar/change_to_tag | 2 | ||||
-rwxr-xr-x | .config/leftwm/themes/basic_lemonbar/down | 16 | ||||
-rw-r--r-- | .config/leftwm/themes/basic_lemonbar/down.jpg | bin | 539 -> 0 bytes | |||
-rw-r--r-- | .config/leftwm/themes/basic_lemonbar/sizes.liquid | 3 | ||||
-rw-r--r-- | .config/leftwm/themes/basic_lemonbar/template.liquid | 18 | ||||
-rw-r--r-- | .config/leftwm/themes/basic_lemonbar/theme.toml | 5 | ||||
-rwxr-xr-x | .config/leftwm/themes/basic_lemonbar/up | 39 |
8 files changed, 0 insertions, 83 deletions
diff --git a/.config/leftwm/themes/basic_lemonbar/background.jpg b/.config/leftwm/themes/basic_lemonbar/background.jpg Binary files differdeleted file mode 100644 index 3b35885..0000000 --- a/.config/leftwm/themes/basic_lemonbar/background.jpg +++ /dev/null diff --git a/.config/leftwm/themes/basic_lemonbar/change_to_tag b/.config/leftwm/themes/basic_lemonbar/change_to_tag deleted file mode 100755 index 8b64075..0000000 --- a/.config/leftwm/themes/basic_lemonbar/change_to_tag +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -echo "SendWorkspaceToTag $1 $2" > $XDG_RUNTIME_DIR/leftwm/commands.pipe diff --git a/.config/leftwm/themes/basic_lemonbar/down b/.config/leftwm/themes/basic_lemonbar/down deleted file mode 100755 index c088a2b..0000000 --- a/.config/leftwm/themes/basic_lemonbar/down +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" - -#set background -if [ -x "$(command -v feh)" ]; then - feh --bg-scale $SCRIPTPATH/down.jpg -fi - -echo "UnloadTheme" > $XDG_RUNTIME_DIR/leftwm/commands.pipe - -pkill lemonbar -pkill compton -pkill picom -pkill lemonbar - diff --git a/.config/leftwm/themes/basic_lemonbar/down.jpg b/.config/leftwm/themes/basic_lemonbar/down.jpg Binary files differdeleted file mode 100644 index da757f7..0000000 --- a/.config/leftwm/themes/basic_lemonbar/down.jpg +++ /dev/null diff --git a/.config/leftwm/themes/basic_lemonbar/sizes.liquid b/.config/leftwm/themes/basic_lemonbar/sizes.liquid deleted file mode 100644 index 1d731bd..0000000 --- a/.config/leftwm/themes/basic_lemonbar/sizes.liquid +++ /dev/null @@ -1,3 +0,0 @@ -{% for workspace in workspaces %} -{{workspace.w}}x{{34}}+{{workspace.x}}+{{workspace.y}} -{% endfor %} diff --git a/.config/leftwm/themes/basic_lemonbar/template.liquid b/.config/leftwm/themes/basic_lemonbar/template.liquid deleted file mode 100644 index eb547f3..0000000 --- a/.config/leftwm/themes/basic_lemonbar/template.liquid +++ /dev/null @@ -1,18 +0,0 @@ -{% assign mine_open = '%{F#000000}%{B#FFFFFF}' %} -{% assign mine_close = '%{B-}%{F-}' %} -{% assign visible_open = '%{F#000000}%{B#999999}' %} -{% assign visible_close = '%{B-}%{F-}' %} - -{% for tag in workspace.tags %} -{% if tag.mine %} -{{mine_open}} {{ tag.name }} {{mine_close}} -{% elsif tag.visible %} -{{visible_open}} {{ tag.name }} {{visible_close}} -{% else tag.visible %} - {{ tag.name }} -{% endif %} -{% endfor %} -%{c} -{{ window_title }} -%{r} -{{ localtime }} diff --git a/.config/leftwm/themes/basic_lemonbar/theme.toml b/.config/leftwm/themes/basic_lemonbar/theme.toml deleted file mode 100644 index 8d8df34..0000000 --- a/.config/leftwm/themes/basic_lemonbar/theme.toml +++ /dev/null @@ -1,5 +0,0 @@ -border_width = 1 -margin = 10 -default_border_color = "#222222" -floating_border_color = "#555555" -focused_border_color = "#AAAAAA" 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 - |