diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-30 21:10:13 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-30 21:12:50 +0200 |
| commit | cb6e225e1293d2d7f95320acdb2b21712e4c721c (patch) | |
| tree | 1f8b9499301ad8e62134804fa90305058eef49ca /old | |
| parent | 8665280d65ff8c9d8b382579d877e42b57a000a6 (diff) | |
| download | scripts-cb6e225e1293d2d7f95320acdb2b21712e4c721c.tar.gz scripts-cb6e225e1293d2d7f95320acdb2b21712e4c721c.zip | |
Moved theme to old/ since I never used it
Diffstat (limited to 'old')
| -rwxr-xr-x | old/theme | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/old/theme b/old/theme new file mode 100755 index 0000000..7e0107a --- /dev/null +++ b/old/theme | |||
| @@ -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 | ||
