refactor: waybar, swaync and rofi now share colors; refactor: removed windows from rofi, niced colors; fix: transparency blur arifacts;
26 lines
519 B
Bash
Executable File
26 lines
519 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
## Author : Aditya Shakya (adi1090x)
|
|
## Github : @adi1090x
|
|
|
|
## 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
|
|
fi
|
|
|
|
rm /tmp/rofi-img.png
|
|
ln -s $image /tmp/rofi-img.png
|
|
|
|
rofi \
|
|
-modes drun,run,calc \
|
|
-show drun \
|
|
-theme /tmp/rofi-theme.rasi
|