Compare commits

...

18 Commits

Author SHA1 Message Date
Julian Poidevin
ae9344f0bc
Merge 09a09db221 into f3835e7f72 2024-10-24 15:09:18 +05:30
adi1090x
f3835e7f72 Deploying to master from @ adi1090x/rofi@f7bc0216ca 🚀 2024-10-10 15:03:51 +00:00
adi1090x
f7bc0216ca Deploying to master from @ adi1090x/rofi@dce10e92b6 🚀 2024-10-05 15:04:35 +00:00
adi1090x
dce10e92b6 Deploying to master from @ adi1090x/rofi@3f2275ab8f 🚀 2024-09-27 15:03:55 +00: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 32 additions and 22 deletions

View File

@ -109,17 +109,22 @@ $ ./setup.sh
</p> </p>
<p align="center"> <p align="center">
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https:&#x2F;&#x2F;avatars.githubusercontent.com&#x2F;u&#x2F;15263867?u&#x3D;7f45e973d008c1c9fc573554a95efac83751e726&amp;v&#x3D;4" width="60px" alt="David Toska" /></a><a href="https://github.com/kkkutup"><img src="https:&#x2F;&#x2F;avatars.githubusercontent.com&#x2F;u&#x2F;142684677?v&#x3D;4" width="60px" alt="" /></a><!-- sponsors --> <!-- sponsors --><a href="https://github.com/davidtoska"><img src="https:&#x2F;&#x2F;avatars.githubusercontent.com&#x2F;u&#x2F;15263867?u&#x3D;7f45e973d008c1c9fc573554a95efac83751e726&amp;v&#x3D;4" width="60px" alt="David Toska" /></a><a href="https://github.com/snubbi1954-elementary"><img src="https:&#x2F;&#x2F;avatars.githubusercontent.com&#x2F;u&#x2F;162145059?u&#x3D;16ee4fee3e95ea7bc1599abdb2ff0ec4a2385ea2&amp;v&#x3D;4" width="60px" alt="Carl Andersen" /></a><a href="https://github.com/12c76dc"><img src="https:&#x2F;&#x2F;avatars.githubusercontent.com&#x2F;u&#x2F;88608064?u&#x3D;856f093e16e6d33996d2548d871884994b3ee627&amp;v&#x3D;4" width="60px" alt="" /></a><!-- sponsors -->
</p> </p>
--- ---
## 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`"