diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-06-19 08:27:58 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-06-19 08:27:58 +0200 |
| commit | 2c065927ff405b2d8b2eec6fc1fbee9c4f93e0a8 (patch) | |
| tree | 5b71550334110d98e70dc19a95386ea97ef9d129 /old | |
| parent | dc98cba24cb5f1f3e260c49fc61add4a113a1df0 (diff) | |
| parent | 518fd1dd0ec5f3dd4019e868ea2ec5a2009f24ad (diff) | |
| download | scripts-2c065927ff405b2d8b2eec6fc1fbee9c4f93e0a8.tar.gz scripts-2c065927ff405b2d8b2eec6fc1fbee9c4f93e0a8.zip | |
Merge branch 'master' of tronto.net:scripts
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 | ||
