diff options
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | theme | 23 |
2 files changed, 24 insertions, 0 deletions
| @@ -33,6 +33,7 @@ SCRIPTS = addressgrep \ | |||
| 33 | status \ | 33 | status \ |
| 34 | templess \ | 34 | templess \ |
| 35 | terminal \ | 35 | terminal \ |
| 36 | theme \ | ||
| 36 | togglemute \ | 37 | togglemute \ |
| 37 | translate \ | 38 | translate \ |
| 38 | trash \ | 39 | trash \ |
| @@ -0,0 +1,23 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # This script is a shortcut to change between a dark and a light theme | ||
| 4 | # for my terminal emulator (st). | ||
| 5 | |||
| 6 | # Usage: theme (dark|light) | ||
| 7 | |||
| 8 | src=$HOME/.local/src | ||
| 9 | |||
| 10 | case "$@" in | ||
| 11 | dark) | ||
| 12 | cd $src/st-darkbg | ||
| 13 | ;; | ||
| 14 | light) | ||
| 15 | cd $src/st-lightbg | ||
| 16 | ;; | ||
| 17 | *) | ||
| 18 | echo "usage: theme (dark|light)" | ||
| 19 | exit 1 | ||
| 20 | ;; | ||
| 21 | esac | ||
| 22 | |||
| 23 | make && sudo make install | ||
