commit e8aa1006b90a305390ff39bc48d0d94ad9c9ad1f parent 07dd233c57ca655bfd90a8a1865ebb9aafe9095b Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Thu, 29 Sep 2022 10:22:46 +0200 Added theme Diffstat:
M | Makefile | | | 1 | + |
A | theme | | | 23 | +++++++++++++++++++++++ |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -33,6 +33,7 @@ SCRIPTS = addressgrep \ status \ templess \ terminal \ + theme \ togglemute \ translate \ trash \ diff --git a/theme b/theme @@ -0,0 +1,23 @@ +#!/bin/sh + +# This script is a shortcut to change between a dark and a light theme +# for my terminal emulator (st). + +# Usage: theme (dark|light) + +src=$HOME/.local/src + +case "$@" in + dark) + cd $src/st-darkbg + ;; + light) + cd $src/st-lightbg + ;; + *) + echo "usage: theme (dark|light)" + exit 1 + ;; +esac + +make && sudo make install