27 lines
640 B
Bash
Executable File
27 lines
640 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
## 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
|
|
|
|
dir="$HOME/.config/rofi-wayland/launchers/type-6"
|
|
theme='style-7'
|
|
|
|
if [[ ! -e /tmp/rofi-theme.rasi ]]; then
|
|
cp ${dir}/${theme}.rasi /tmp/rofi-theme.rasi
|
|
cp ~/.config/rofi-wayland/images/sakura.jpg /tmp/rofi-img.jpg
|
|
fi
|
|
|
|
## Run
|
|
rofi \
|
|
-modes drun,run,window,calc \
|
|
-show drun \
|
|
-theme /tmp/rofi-theme.rasi
|
|
# -theme ${dir}/${theme}.rasi
|