diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-09-29 10:22:46 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-09-29 10:22:46 +0200 |
| commit | e8aa1006b90a305390ff39bc48d0d94ad9c9ad1f (patch) | |
| tree | ae08249caddf0295f82d99b206212944e5707377 /theme | |
| parent | 07dd233c57ca655bfd90a8a1865ebb9aafe9095b (diff) | |
| download | scripts-e8aa1006b90a305390ff39bc48d0d94ad9c9ad1f.tar.gz scripts-e8aa1006b90a305390ff39bc48d0d94ad9c9ad1f.zip | |
Added theme
Diffstat (limited to 'theme')
| -rw-r--r-- | theme | 23 |
1 files changed, 23 insertions, 0 deletions
| @@ -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 | ||
