scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

theme (331B)


      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