From bc8f075ebc6ebb987a6c6a20e8a30df241197073 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 24 Nov 2021 12:48:13 -0700 Subject: Added some better support for Void Linux. Void Linux doesn't have spotify in its official repos. Going with open source solutions, I can use spotifyd, but had to hack my spotify-control scripts to get it to work. Void linux also puts all its binaries in /bin for some reason. Not sure I like that, but I had to change the DMenu module to support that. --- extras/HOME/.xmonad/xmobar-logo | 2 +- src/Internal/DMenu.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/HOME/.xmonad/xmobar-logo b/extras/HOME/.xmonad/xmobar-logo index bf48047..aca1846 100755 --- a/extras/HOME/.xmonad/xmobar-logo +++ b/extras/HOME/.xmonad/xmobar-logo @@ -4,6 +4,6 @@ case "$(uname -a)" in *-arch*) exec echo '' ;; *Debian*) exec echo '' ;; *Ubuntu*) exec echo '' ;; - *Linux*) exec echo '' ;; + *Linux*) exec echo '' ;; *BSD*) exec echo '' ;; esac diff --git a/src/Internal/DMenu.hs b/src/Internal/DMenu.hs index d91c7ba..850612e 100644 --- a/src/Internal/DMenu.hs +++ b/src/Internal/DMenu.hs @@ -17,7 +17,7 @@ data Colors = runDMenu :: X () runDMenu = void $ - safeSpawn "/usr/bin/dmenu_run" [ + safeSpawn "dmenu_run" [ "-p", "Execute ", "-l", "12", "-dim", "0.4"] runDMenuPrompt :: String -> Maybe String -> [String] -> X String -- cgit