barebones rofi dmenu
parent
692d5ef4bd
commit
c85ca6effc
@ -0,0 +1 @@
|
|||||||
|
launchers/dmenu.sh
|
@ -0,0 +1,25 @@
|
|||||||
|
#!/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 dmenu \
|
||||||
|
-theme ${dir}/${theme}.rasi
|
Loading…
Reference in New Issue