diff options
Diffstat (limited to 'herbstluftwm/.config')
| -rwxr-xr-x | herbstluftwm/.config/herbstluftwm/rofi_theme.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/rofi_theme.sh b/herbstluftwm/.config/herbstluftwm/rofi_theme.sh index 4921a66..8be7f45 100755 --- a/herbstluftwm/.config/herbstluftwm/rofi_theme.sh +++ b/herbstluftwm/.config/herbstluftwm/rofi_theme.sh | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | theme_dir="$HLWM_CONF_DIR/themes" | 3 | theme_dir="$HLWM_CONF_DIR/themes" |
| 4 | current=$(readlink "$theme_dir/current") | 4 | current=$(readlink "$theme_dir/current") |
| 5 | themes=$(ls "$theme_dir" | grep -vE "current|template|README\.md|$current") | 5 | themes=$(ls "$theme_dir" | grep -vE "^current|template|README\.md|$current\$") |
| 6 | theme=$(echo "$themes" | rofi -dmenu -p "theme:" $@) | 6 | theme=$(echo "$themes" | rofi -dmenu -p "theme:" $@) |
| 7 | 7 | ||
| 8 | if [ -n "$theme" ] && [ -f "$theme_dir/$theme" ]; then | 8 | if [ -n "$theme" ] && [ -f "$theme_dir/$theme" ]; then |
