feat: random images in rofi wooo
This commit is contained in:
19
cava/config
19
cava/config
@@ -227,21 +227,10 @@ framerate = 45
|
|||||||
# Gradient mode, only hex defined colors are supported,
|
# Gradient mode, only hex defined colors are supported,
|
||||||
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
|
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
|
||||||
# You can define as many as 8 different colors. They range from bottom to top of screen
|
# You can define as many as 8 different colors. They range from bottom to top of screen
|
||||||
gradient = 0
|
gradient = 1
|
||||||
;; gradient_count = 3
|
gradient_count = 2
|
||||||
;; gradient_color_1 = '#9E2238'
|
gradient_color_1 = '#9E2238'
|
||||||
;; gradient_color_2 = '#BB6F80'
|
gradient_color_2 = '#9E2238'
|
||||||
;; gradient_color_3 = '#EB9FB0'
|
|
||||||
;gradient_color_4 = '#68d4f1'
|
|
||||||
;gradient_color_3 = '#50a3b5'
|
|
||||||
;gradient_color_2 = '#027c9b'
|
|
||||||
;gradient_color_1 = '#1e4950'
|
|
||||||
; gradient_color_5 = '#ff5148'
|
|
||||||
; gradient_color_6 = '#ff5d56'
|
|
||||||
; gradient_color_7 = '#ff6863'
|
|
||||||
; gradient_color_8 = '#ff736f'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[smoothing]
|
[smoothing]
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ M.base_16 = {
|
|||||||
base00 = "#1c1c1c", -- background
|
base00 = "#1c1c1c", -- background
|
||||||
base01 = "#1a1d21",
|
base01 = "#1a1d21",
|
||||||
base02 = "#23262a",
|
base02 = "#23262a",
|
||||||
base03 = "#2b2e32",
|
base03 = "#5b5e62",
|
||||||
base04 = "#323539",
|
base04 = "#323539",
|
||||||
base05 = "#878b96", -- foreground
|
base05 = "#878b96", -- foreground
|
||||||
base06 = "#cbcbcc",
|
base06 = "#cbcbcc",
|
||||||
|
|||||||
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)
|
## Author : Aditya Shakya (adi1090x)
|
||||||
## Github : @adi1090x
|
## Github : @adi1090x
|
||||||
#
|
|
||||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
## Forked by : Nikolai Papin (WeirdCat)
|
||||||
#
|
## Git: cloud.weirdcat.su
|
||||||
## Available Styles
|
|
||||||
#
|
|
||||||
## style-1 style-2 style-3 style-4 style-5
|
|
||||||
## style-6 style-7 style-8 style-9 style-10
|
|
||||||
|
|
||||||
dir="$HOME/.config/rofi-wayland/launchers/type-6"
|
dir="$HOME/.config/rofi-wayland/launchers/type-6"
|
||||||
|
images_dir="$dir/images/"
|
||||||
theme='style-7'
|
theme='style-7'
|
||||||
|
|
||||||
|
image=$(find "$images_dir" -type f | shuf -n 1)
|
||||||
|
|
||||||
if [[ ! -e /tmp/rofi-theme.rasi ]]; then
|
if [[ ! -e /tmp/rofi-theme.rasi ]]; then
|
||||||
cp ${dir}/${theme}.rasi /tmp/rofi-theme.rasi
|
cp ${dir}/${theme}.rasi /tmp/rofi-theme.rasi
|
||||||
cp ~/.config/rofi-wayland/images/japanvolcano.jpg /tmp/rofi-img.jpg
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Run
|
rm /tmp/rofi-img.jpg
|
||||||
|
ln -s $image /tmp/rofi-img.jpg
|
||||||
|
|
||||||
rofi \
|
rofi \
|
||||||
-modes drun,run,window,calc \
|
-modes drun,run,window,calc \
|
||||||
-show drun \
|
-show drun \
|
||||||
-theme /tmp/rofi-theme.rasi
|
-theme /tmp/rofi-theme.rasi
|
||||||
# -theme ${dir}/${theme}.rasi
|
|
||||||
|
|||||||
@@ -23,12 +23,12 @@ configuration {
|
|||||||
/*****----- Global Properties -----*****/
|
/*****----- Global Properties -----*****/
|
||||||
* {
|
* {
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
background: #1e1f29ba;
|
background: #1c1c1cba;
|
||||||
background-alt: #1e1f29ca;
|
background-alt: #1c1c1cca;
|
||||||
foreground: #FFe8EE;
|
foreground: #FFe8EE;
|
||||||
selected: #E26273dd;
|
selected: #9E2238dd;
|
||||||
active: #E26273;
|
active: #9E2238;
|
||||||
urgent: #9E2238;
|
urgent: #D14781;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
/*****----- Main Window -----*****/
|
||||||
|
|||||||
Reference in New Issue
Block a user