From c85ca6effccf97efca406dbf1d0683d6d9997b3d Mon Sep 17 00:00:00 2001 From: spinach <19keegandeppe@gmail.com> Date: Sat, 25 Feb 2023 15:54:01 -0500 Subject: [PATCH] barebones rofi dmenu --- bin/rofi-dmenu | 1 + launchers/dmenu.sh | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 120000 bin/rofi-dmenu create mode 100755 launchers/dmenu.sh diff --git a/bin/rofi-dmenu b/bin/rofi-dmenu new file mode 120000 index 0000000..026788f --- /dev/null +++ b/bin/rofi-dmenu @@ -0,0 +1 @@ +launchers/dmenu.sh \ No newline at end of file diff --git a/launchers/dmenu.sh b/launchers/dmenu.sh new file mode 100755 index 0000000..298e709 --- /dev/null +++ b/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