diff --git a/README.md b/README.md index bd657b8..8e60086 100644 --- a/README.md +++ b/README.md @@ -116,10 +116,15 @@ $ ./setup.sh ## Launchers -**`Change Style` :** Edit `~/.config/rofi/launchers/type-X/launcher.sh` script and edit the following line to use the style you like. -``` -theme='style-1' -``` +**`Change Style` :** You have two options to change the launcher style + +1. Either edit the `~/.config/rofi/launchers/type-X/launcher.sh` script and edit the following line to use the style you like. + + theme='style-1' + +2. Or pass "`style-X`" *(with `X` being the style number)* to the `launcher.sh` script. When using no argument, `style-1` will be used as default. + + ~/.config/rofi/launchers/type-X/launcher.sh style-X **`Change Colors` :** Edit `~/.config/rofi/launchers/type-X/shared/colors.rasi` file and edit the following line to use the color-scheme you like. ```css @@ -364,10 +369,15 @@ style='style-1.rasi' ## Powermenus -**`Change Style` :** Edit `~/.config/rofi/powermenu/type-X/powermenu.sh` script and edit the following line to use the style you like. -``` -theme='style-1' -``` +**`Change Style` :** You have two options to change the powermenu style + +1. Either edit the `~/.config/rofi/powermenu/type-X/powermenu.sh` script and edit the following line to use the style you like. + + theme='style-1' + +2. Or pass "`style-X`" *(with `X` being the style number)* to the `powermenu.sh` script. When using no argument, `style-1` will be used as default. + + ~/.config/rofi/powermenu/type-X/powermenu.sh style-X **`Change Colors` :** Edit `~/.config/rofi/powermenu/type-X/shared/colors.rasi` file and edit the following line to use the color-scheme you like. ```css diff --git a/files/launchers/type-1/launcher.sh b/files/launchers/type-1/launcher.sh index 85b7df4..a6d99ea 100755 --- a/files/launchers/type-1/launcher.sh +++ b/files/launchers/type-1/launcher.sh @@ -12,7 +12,7 @@ ## style-11 style-12 style-13 style-14 style-15 dir="$HOME/.config/rofi/launchers/type-1" -theme='style-1' +theme=${1:-'style-1'} ## Run rofi \ diff --git a/files/launchers/type-2/launcher.sh b/files/launchers/type-2/launcher.sh index 3422cd7..79d7240 100755 --- a/files/launchers/type-2/launcher.sh +++ b/files/launchers/type-2/launcher.sh @@ -12,7 +12,7 @@ ## style-11 style-12 style-13 style-14 style-15 dir="$HOME/.config/rofi/launchers/type-2" -theme='style-1' +theme=${1:-'style-1'} ## Run rofi \ diff --git a/files/launchers/type-3/launcher.sh b/files/launchers/type-3/launcher.sh index ae97b5f..bbc95ce 100755 --- a/files/launchers/type-3/launcher.sh +++ b/files/launchers/type-3/launcher.sh @@ -11,7 +11,7 @@ ## style-6 style-7 style-8 style-9 style-10 dir="$HOME/.config/rofi/launchers/type-3" -theme='style-10' +theme=${1:-'style-1'} ## Run rofi \ diff --git a/files/launchers/type-4/launcher.sh b/files/launchers/type-4/launcher.sh index 6572cda..1625359 100755 --- a/files/launchers/type-4/launcher.sh +++ b/files/launchers/type-4/launcher.sh @@ -11,7 +11,7 @@ ## style-6 style-7 style-8 style-9 style-10 dir="$HOME/.config/rofi/launchers/type-4" -theme='style-1' +theme=${1:-'style-1'} ## Run rofi \ diff --git a/files/launchers/type-5/launcher.sh b/files/launchers/type-5/launcher.sh index e9d0a3a..f601794 100755 --- a/files/launchers/type-5/launcher.sh +++ b/files/launchers/type-5/launcher.sh @@ -10,7 +10,7 @@ ## style-1 style-2 style-3 style-4 style-5 dir="$HOME/.config/rofi/launchers/type-5" -theme='style-1' +theme=${1:-'style-1'} ## Run rofi \ diff --git a/files/launchers/type-6/launcher.sh b/files/launchers/type-6/launcher.sh index c0b4d33..854edde 100755 --- a/files/launchers/type-6/launcher.sh +++ b/files/launchers/type-6/launcher.sh @@ -11,7 +11,7 @@ ## style-6 style-7 style-8 style-9 style-10 dir="$HOME/.config/rofi/launchers/type-6" -theme='style-1' +theme=${1:-'style-1'} ## Run rofi \ diff --git a/files/launchers/type-7/launcher.sh b/files/launchers/type-7/launcher.sh index aa45aa9..e1d0d61 100755 --- a/files/launchers/type-7/launcher.sh +++ b/files/launchers/type-7/launcher.sh @@ -11,7 +11,7 @@ ## style-6 style-7 style-8 style-9 style-10 dir="$HOME/.config/rofi/launchers/type-7" -theme='style-1' +theme=${1:-'style-1'} ## Run rofi \ diff --git a/files/powermenu/type-1/powermenu.sh b/files/powermenu/type-1/powermenu.sh index dd978af..baf591d 100755 --- a/files/powermenu/type-1/powermenu.sh +++ b/files/powermenu/type-1/powermenu.sh @@ -11,7 +11,7 @@ # Current Theme dir="$HOME/.config/rofi/powermenu/type-1" -theme='style-1' +theme=${1:-'style-1'} # CMDs uptime="`uptime -p | sed -e 's/up //g'`" diff --git a/files/powermenu/type-2/powermenu.sh b/files/powermenu/type-2/powermenu.sh index 23d0795..28b6248 100755 --- a/files/powermenu/type-2/powermenu.sh +++ b/files/powermenu/type-2/powermenu.sh @@ -12,7 +12,7 @@ # Current Theme dir="$HOME/.config/rofi/powermenu/type-2" -theme='style-1' +theme=${1:-'style-1'} # CMDs uptime="`uptime -p | sed -e 's/up //g'`" diff --git a/files/powermenu/type-3/powermenu.sh b/files/powermenu/type-3/powermenu.sh index 8c1e47f..26353d0 100755 --- a/files/powermenu/type-3/powermenu.sh +++ b/files/powermenu/type-3/powermenu.sh @@ -11,7 +11,7 @@ # Current Theme dir="$HOME/.config/rofi/powermenu/type-3" -theme='style-1' +theme=${1:-'style-1'} # CMDs uptime="`uptime -p | sed -e 's/up //g'`" diff --git a/files/powermenu/type-4/powermenu.sh b/files/powermenu/type-4/powermenu.sh index 17f20c7..780d00f 100755 --- a/files/powermenu/type-4/powermenu.sh +++ b/files/powermenu/type-4/powermenu.sh @@ -11,7 +11,7 @@ # Current Theme dir="$HOME/.config/rofi/powermenu/type-4" -theme='style-5' +theme=${1:-'style-1'} # CMDs uptime="`uptime -p | sed -e 's/up //g'`" diff --git a/files/powermenu/type-5/powermenu.sh b/files/powermenu/type-5/powermenu.sh index 561e30c..18196f9 100755 --- a/files/powermenu/type-5/powermenu.sh +++ b/files/powermenu/type-5/powermenu.sh @@ -11,7 +11,7 @@ # Current Theme dir="$HOME/.config/rofi/powermenu/type-5" -theme='style-1' +theme=${1:-'style-1'} # CMDs lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`" diff --git a/files/powermenu/type-6/powermenu.sh b/files/powermenu/type-6/powermenu.sh index ad93faf..52e0eb3 100755 --- a/files/powermenu/type-6/powermenu.sh +++ b/files/powermenu/type-6/powermenu.sh @@ -11,7 +11,7 @@ # Current Theme dir="$HOME/.config/rofi/powermenu/type-6" -theme='style-1' +theme=${1:-'style-1'} # CMDs lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"