pub / theme-switchers

Switching Themes for various GNU+Linux software
git clone src.jayvii.de/pub/theme-switchers.git
Home | Log | Files | Exports | Refs | README | RSS

switch-themes.sh (320B)


      1 #!/usr/bin/env bash
      2 
      3 # exit on error
      4 set -e
      5 
      6 # change directory
      7 cd $(dirname -- "${BASH_SOURCE[0]}")
      8 
      9 # call every script that is available
     10 
     11 ## GNOME
     12 if [ -f "./gnome-switch-theme.sh" ]; then
     13   bash -x "./gnome-switch-theme.sh $1"
     14 fi
     15 
     16 ## Helix
     17 if [ -f "./helix-switch-theme.sh" ]; then
     18   ./helix-switch-theme.sh "$1"
     19 fi