Compare commits

...

16 Commits

Author SHA1 Message Date
Julian Poidevin
b623c00171
Merge 09a09db2211dcfdcbffffad6f238e9384e07e376 into fb7011ec48bd065f398f2ff26d76e301aff1dc22 2025-06-10 07:33:46 +08:00
adi1090x
fb7011ec48 Deploying to master from @ adi1090x/rofi@b76c16b2b7 🚀 2025-06-09 15:04:47 +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;github.com&#x2F;davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/snubbi1954-elementary"><img src="https:&#x2F;&#x2F;github.com&#x2F;snubbi1954-elementary.png" width="60px" alt="User avatar: Carl Andersen" /></a><a href="https://github.com/dgxlab"><img src="https:&#x2F;&#x2F;github.com&#x2F;dgxlab.png" width="60px" alt="User avatar: David Vargas" /></a><a href="https://github.com/kobinabrandon"><img src="https:&#x2F;&#x2F;github.com&#x2F;kobinabrandon.png" width="60px" alt="User avatar: Kobina Brandon" /></a><!-- sponsors --> <!-- sponsors --><a href="https://github.com/davidtoska"><img src="https:&#x2F;&#x2F;github.com&#x2F;davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/snubbi1954-elementary"><img src="https:&#x2F;&#x2F;github.com&#x2F;snubbi1954-elementary.png" width="60px" alt="User avatar: Carl Andersen" /></a><a href="https://github.com/dgxlab"><img src="https:&#x2F;&#x2F;github.com&#x2F;dgxlab.png" width="60px" alt="User avatar: David Vargas" /></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
```
theme='style-1' 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. **`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
```
theme='style-1' 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. **`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`"