aboutsummaryrefslogtreecommitdiff
path: root/old/theme
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-06-19 08:27:58 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-06-19 08:27:58 +0200
commit2c065927ff405b2d8b2eec6fc1fbee9c4f93e0a8 (patch)
tree5b71550334110d98e70dc19a95386ea97ef9d129 /old/theme
parentdc98cba24cb5f1f3e260c49fc61add4a113a1df0 (diff)
parent518fd1dd0ec5f3dd4019e868ea2ec5a2009f24ad (diff)
downloadscripts-2c065927ff405b2d8b2eec6fc1fbee9c4f93e0a8.tar.gz
scripts-2c065927ff405b2d8b2eec6fc1fbee9c4f93e0a8.zip
Merge branch 'master' of tronto.net:scripts
Diffstat (limited to 'old/theme')
-rwxr-xr-xold/theme23
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
8src=$HOME/.local/src
9
10case "$@" 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 ;;
21esac
22
23make && sudo make install

Generated with cgit - Back to sebastiano.tronto.net