feat: random images in rofi wooo
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
BIN
rofi-wayland/launchers/type-6/images/4-27.png
Normal file
BIN
rofi-wayland/launchers/type-6/images/4-27.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 366 KiB |
BIN
rofi-wayland/launchers/type-6/images/oijoij.jpg
Normal file
BIN
rofi-wayland/launchers/type-6/images/oijoij.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
BIN
rofi-wayland/launchers/type-6/images/oijoijoweifjo.jpg
Normal file
BIN
rofi-wayland/launchers/type-6/images/oijoijoweifjo.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
@@ -2,25 +2,24 @@
|
||||
|
||||
## Author : Aditya Shakya (adi1090x)
|
||||
## Github : @adi1090x
|
||||
#
|
||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
||||
#
|
||||
## Available Styles
|
||||
#
|
||||
## style-1 style-2 style-3 style-4 style-5
|
||||
## style-6 style-7 style-8 style-9 style-10
|
||||
|
||||
## Forked by : Nikolai Papin (WeirdCat)
|
||||
## Git: cloud.weirdcat.su
|
||||
|
||||
dir="$HOME/.config/rofi-wayland/launchers/type-6"
|
||||
images_dir="$dir/images/"
|
||||
theme='style-7'
|
||||
|
||||
image=$(find "$images_dir" -type f | shuf -n 1)
|
||||
|
||||
if [[ ! -e /tmp/rofi-theme.rasi ]]; then
|
||||
cp ${dir}/${theme}.rasi /tmp/rofi-theme.rasi
|
||||
cp ~/.config/rofi-wayland/images/japanvolcano.jpg /tmp/rofi-img.jpg
|
||||
fi
|
||||
|
||||
## Run
|
||||
rm /tmp/rofi-img.jpg
|
||||
ln -s $image /tmp/rofi-img.jpg
|
||||
|
||||
rofi \
|
||||
-modes drun,run,window,calc \
|
||||
-show drun \
|
||||
-theme /tmp/rofi-theme.rasi
|
||||
# -theme ${dir}/${theme}.rasi
|
||||
|
||||
@@ -23,12 +23,12 @@ configuration {
|
||||
/*****----- Global Properties -----*****/
|
||||
* {
|
||||
font: "JetBrains Mono Nerd Font 10";
|
||||
background: #1e1f29ba;
|
||||
background-alt: #1e1f29ca;
|
||||
background: #1c1c1cba;
|
||||
background-alt: #1c1c1cca;
|
||||
foreground: #FFe8EE;
|
||||
selected: #E26273dd;
|
||||
active: #E26273;
|
||||
urgent: #9E2238;
|
||||
selected: #9E2238dd;
|
||||
active: #9E2238;
|
||||
urgent: #D14781;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
|
||||
Reference in New Issue
Block a user