diff options
author | zachir <zachir@librem.one> | 2023-02-09 21:22:48 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2023-02-09 21:22:48 -0600 |
commit | 22e8f8c134dac828f997519dbf0bdba0d3a4abdc (patch) | |
tree | 3c7456a272072317d608f8a8ac71c7471fa13ec5 | |
parent | e503a94262ca97a10fed8f0dea31020d1b3747dd (diff) |
update barmenu to add color args plus use /bin/sh
-rwxr-xr-x | barmenu | 6 | ||||
-rwxr-xr-x | barmenu_run | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ -#!/sbin/sh +#!/bin/sh if [ -z "$WAYLAND_DISPLAY" -a -n "$DISPLAY" ]; then - dmenu -i -F $@ + dmenu -i -nb '#000000' -nf '#198844' -sb '#39c1ed' -sf '#198844' "$@" else - bemenu $(echo $@ | sed 's/-h/-H/') + dmenu-wl -nb '#000000' -nf '#198844' -sb '#39c1ed' -sf '#198844' -i $@ fi diff --git a/barmenu_run b/barmenu_run index 6ff709f..55acffe 100755 --- a/barmenu_run +++ b/barmenu_run @@ -1,3 +1,3 @@ -#!/sbin/sh +#!/bin/sh dmenu_path | barmenu "$@" | ${SHELL:-"/bin/sh"} & |