pinephone-scripts

Scripts and small applications for the PinePhone
git clone https://src.jayvii.de/pub/pinephone-scripts.git
Log | Files | Refs | README | LICENSE

set_theme.sh (555B)


      1 # Copyright (C) 2020 Jan "JayVii"
      2 # Author 2020 Jan "JayVii" <jayvii [AT] posteo [DOT] de>
      3 # SPDX-License-Identifier: gpl-3.0
      4 # About this header: <https://reuse.software>
      5 
      6 # default paths
      7 GTK_DIRS="/usr/share/themes/ $HOME/.themes/"
      8 ICON_DIRS="/usr/share/icons/ $HOME/.icons/"
      9 
     10 # get available gtk-themes
     11 for DIR in "$GTK_DIRS"; do
     12     INST_GTK=`find "$DIR" -maxdepth 1 -type d | sed -e "s#$DIR##"`
     13 done
     14 
     15 # get available icon-themes
     16 for DIR in "$ICON_DIRS"; do
     17     INST_ICON=`find "$DIR" -maxdepth 1 -type d | sed -e "s#$DIR##"`
     18 done
     19 
     20 # EOF set_theme.sh