feat: random images in rofi wooo

This commit is contained in:
2025-07-04 13:34:59 +03:00
parent dbcff6dc1e
commit b5e2266787
8 changed files with 19 additions and 31 deletions

View File

@@ -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]

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -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

View File

@@ -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 -----*****/