From 430198934452fcabd40ee103ee2f21b85470ea3b Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 2 Nov 2023 01:22:52 +0000 Subject: [PATCH] remove show_dmenu.sh doesn't really work as the bar will disappear once the a selection is made, but won't relinquish control until the invoked program exits in certain cases --- show_dmenu.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 show_dmenu.sh diff --git a/show_dmenu.sh b/show_dmenu.sh deleted file mode 100755 index d569c20..0000000 --- a/show_dmenu.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# script to hide the top panel and show the program launcher in its place - -# if bar is hidden, don't do anything with the top bar -if [ -f /tmp/polybarhidden ]; then - dmenu_run -fn "SauceCodePro Nerd Font-11" -nf "#f0f0f0" -nb "#0f0f0f" -sf "#f0f0f0" -sb "#8f8aac" - -# if the bar isn't hidden, hide it, show dmenu, then unhide it -else - polybar-msg cmd hide - touch /tmp/polybarhidden - selection=$(dmenu_run -fn "SauceCodePro Nerd Font-11" -nf "#f0f0f0" -nb "#0f0f0f" -sf "#f0f0f0" -sb "#8f8aac") # only assigning a variable here to force the next command to wait til dmenu is done - polybar-msg cmd show - rm /tmp/polybarhidden -fi