diff --git a/files/launchers/type-1/launcher.sh b/files/launchers/type-1/launcher.sh index 85b7df4f..a6d99eab 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 3422cd7e..79d72409 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 ae97b5f0..bbc95ce0 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 6572cdaf..16253596 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 e9d0a3a2..f6017948 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 c0b4d334..854edde9 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 aa45aa9d..e1d0d610 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 dd978af7..baf591d7 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 23d07956..28b62488 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 8c1e47f7..26353d0f 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 17f20c78..780d00f1 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 561e30cd..18196f9d 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 ad93fafb..52e0eb33 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`"