Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing docs for #128 : "Accept style as cli arg" #144

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion files/launchers/type-1/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion files/launchers/type-2/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion files/launchers/type-3/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion files/launchers/type-4/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion files/launchers/type-5/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion files/launchers/type-6/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion files/launchers/type-7/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion files/powermenu/type-1/powermenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'`"
Expand Down
2 changes: 1 addition & 1 deletion files/powermenu/type-2/powermenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'`"
Expand Down
2 changes: 1 addition & 1 deletion files/powermenu/type-3/powermenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'`"
Expand Down
2 changes: 1 addition & 1 deletion files/powermenu/type-4/powermenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'`"
Expand Down
2 changes: 1 addition & 1 deletion files/powermenu/type-5/powermenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`"
Expand Down
2 changes: 1 addition & 1 deletion files/powermenu/type-6/powermenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`"
Expand Down