aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile1
-rw-r--r--theme23
2 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 46f55e2..8d3e36b 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \
diff --git a/theme b/theme
new file mode 100644
index 0000000..7e0107a
--- /dev/null
+++ b/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