Compare commits

...

15 Commits

Author SHA1 Message Date
Julian Poidevin
f0ad83f4b6
Merge 09a09db221 into 45241fd313 2024-08-19 09:41:46 +02:00
Julian POIDEVIN
09a09db221
docs: add documentation for launcher and powermenu 'style' argument.
Signed-off-by: Julian POIDEVIN <poidevin.julian@gmail.com>
2023-05-19 16:14:49 +02:00
Zeno Jiricek
6f8b187a10
Update powermenu.sh 2022-12-10 17:18:27 +10:30
Zeno Jiricek
730b53e221
Update powermenu.sh 2022-12-10 17:18:17 +10:30
Zeno Jiricek
3a569d5594
Update powermenu.sh 2022-12-10 17:18:07 +10:30
Zeno Jiricek
3c85b46c79
Update powermenu.sh 2022-12-10 17:17:56 +10:30
Zeno Jiricek
139114e146
Update powermenu.sh 2022-12-10 17:17:45 +10:30
Zeno Jiricek
0e10e9257f
Update powermenu.sh 2022-12-10 17:17:34 +10:30
Zeno Jiricek
326cc548b5
Update launcher.sh 2022-12-10 17:16:12 +10:30
Zeno Jiricek
62d82fc292
Update launcher.sh 2022-12-10 17:16:01 +10:30
Zeno Jiricek
10739c30b1
Update launcher.sh 2022-12-10 17:15:50 +10:30
Zeno Jiricek
4b14ac9068
Update launcher.sh 2022-12-10 17:15:39 +10:30
Zeno Jiricek
a0848ed025
Update launcher.sh 2022-12-10 17:15:26 +10:30
Zeno Jiricek
7f98b34211
Update launcher.sh 2022-12-10 17:15:12 +10:30
Zeno Jiricek
66e731c831
Update launcher.sh
Accept style as cli arg
2022-12-10 17:14:01 +10:30
14 changed files with 31 additions and 21 deletions

View File

@ -116,10 +116,15 @@ $ ./setup.sh
## Launchers ## Launchers
**`Change Style` :** Edit `~/.config/rofi/launchers/type-X/launcher.sh` script and edit the following line to use the style you like. **`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' 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. **`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 ```css
@ -364,10 +369,15 @@ style='style-1.rasi'
## Powermenus ## Powermenus
**`Change Style` :** Edit `~/.config/rofi/powermenu/type-X/powermenu.sh` script and edit the following line to use the style you like. **`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' 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. **`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 ```css

View File

@ -12,7 +12,7 @@
## style-11 style-12 style-13 style-14 style-15 ## style-11 style-12 style-13 style-14 style-15
dir="$HOME/.config/rofi/launchers/type-1" dir="$HOME/.config/rofi/launchers/type-1"
theme='style-1' theme=${1:-'style-1'}
## Run ## Run
rofi \ rofi \

View File

@ -12,7 +12,7 @@
## style-11 style-12 style-13 style-14 style-15 ## style-11 style-12 style-13 style-14 style-15
dir="$HOME/.config/rofi/launchers/type-2" dir="$HOME/.config/rofi/launchers/type-2"
theme='style-1' theme=${1:-'style-1'}
## Run ## Run
rofi \ rofi \

View File

@ -11,7 +11,7 @@
## style-6 style-7 style-8 style-9 style-10 ## style-6 style-7 style-8 style-9 style-10
dir="$HOME/.config/rofi/launchers/type-3" dir="$HOME/.config/rofi/launchers/type-3"
theme='style-10' theme=${1:-'style-1'}
## Run ## Run
rofi \ rofi \

View File

@ -11,7 +11,7 @@
## style-6 style-7 style-8 style-9 style-10 ## style-6 style-7 style-8 style-9 style-10
dir="$HOME/.config/rofi/launchers/type-4" dir="$HOME/.config/rofi/launchers/type-4"
theme='style-1' theme=${1:-'style-1'}
## Run ## Run
rofi \ rofi \

View File

@ -10,7 +10,7 @@
## style-1 style-2 style-3 style-4 style-5 ## style-1 style-2 style-3 style-4 style-5
dir="$HOME/.config/rofi/launchers/type-5" dir="$HOME/.config/rofi/launchers/type-5"
theme='style-1' theme=${1:-'style-1'}
## Run ## Run
rofi \ rofi \

View File

@ -11,7 +11,7 @@
## style-6 style-7 style-8 style-9 style-10 ## style-6 style-7 style-8 style-9 style-10
dir="$HOME/.config/rofi/launchers/type-6" dir="$HOME/.config/rofi/launchers/type-6"
theme='style-1' theme=${1:-'style-1'}
## Run ## Run
rofi \ rofi \

View File

@ -11,7 +11,7 @@
## style-6 style-7 style-8 style-9 style-10 ## style-6 style-7 style-8 style-9 style-10
dir="$HOME/.config/rofi/launchers/type-7" dir="$HOME/.config/rofi/launchers/type-7"
theme='style-1' theme=${1:-'style-1'}
## Run ## Run
rofi \ rofi \

View File

@ -11,7 +11,7 @@
# Current Theme # Current Theme
dir="$HOME/.config/rofi/powermenu/type-1" dir="$HOME/.config/rofi/powermenu/type-1"
theme='style-1' theme=${1:-'style-1'}
# CMDs # CMDs
uptime="`uptime -p | sed -e 's/up //g'`" uptime="`uptime -p | sed -e 's/up //g'`"

View File

@ -12,7 +12,7 @@
# Current Theme # Current Theme
dir="$HOME/.config/rofi/powermenu/type-2" dir="$HOME/.config/rofi/powermenu/type-2"
theme='style-1' theme=${1:-'style-1'}
# CMDs # CMDs
uptime="`uptime -p | sed -e 's/up //g'`" uptime="`uptime -p | sed -e 's/up //g'`"

View File

@ -11,7 +11,7 @@
# Current Theme # Current Theme
dir="$HOME/.config/rofi/powermenu/type-3" dir="$HOME/.config/rofi/powermenu/type-3"
theme='style-1' theme=${1:-'style-1'}
# CMDs # CMDs
uptime="`uptime -p | sed -e 's/up //g'`" uptime="`uptime -p | sed -e 's/up //g'`"

View File

@ -11,7 +11,7 @@
# Current Theme # Current Theme
dir="$HOME/.config/rofi/powermenu/type-4" dir="$HOME/.config/rofi/powermenu/type-4"
theme='style-5' theme=${1:-'style-1'}
# CMDs # CMDs
uptime="`uptime -p | sed -e 's/up //g'`" uptime="`uptime -p | sed -e 's/up //g'`"

View File

@ -11,7 +11,7 @@
# Current Theme # Current Theme
dir="$HOME/.config/rofi/powermenu/type-5" dir="$HOME/.config/rofi/powermenu/type-5"
theme='style-1' theme=${1:-'style-1'}
# CMDs # CMDs
lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`" lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"

View File

@ -11,7 +11,7 @@
# Current Theme # Current Theme
dir="$HOME/.config/rofi/powermenu/type-6" dir="$HOME/.config/rofi/powermenu/type-6"
theme='style-1' theme=${1:-'style-1'}
# CMDs # CMDs
lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`" lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`"