You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
469 B
Bash
26 lines
469 B
Bash
2 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
## Author : Aditya Shakya (adi1090x)
|
||
|
## Github : @adi1090x
|
||
|
## Modified : spinach
|
||
|
#
|
||
|
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
||
|
#
|
||
|
## Available Styles
|
||
|
#
|
||
|
## dropdown-transparent dropdown-text
|
||
|
## fullscreen-transparent small-transparent
|
||
|
|
||
|
dir="$HOME/.config/rofi/launchers"
|
||
|
theme='small-transparent'
|
||
|
# theme override
|
||
|
if [[ -n "$1" ]] ; then
|
||
|
theme="$1"
|
||
|
fi
|
||
|
|
||
|
echo "$theme"
|
||
|
## Run
|
||
|
rofi \
|
||
|
-show drun \
|
||
|
-theme ${dir}/${theme}.rasi
|