aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rahm <rahm@boson.lan>2021-11-24 12:48:13 -0700
committerJosh Rahm <joshuarahm@gmail.com>2022-10-09 12:19:45 -0600
commitbc8f075ebc6ebb987a6c6a20e8a30df241197073 (patch)
treee0e8368fa236ae646ecee20d86733003c2c997e6
parent1cb68e4c242a945896617a5d03c53117ab28fb53 (diff)
downloadrde-bc8f075ebc6ebb987a6c6a20e8a30df241197073.tar.gz
rde-bc8f075ebc6ebb987a6c6a20e8a30df241197073.tar.bz2
rde-bc8f075ebc6ebb987a6c6a20e8a30df241197073.zip
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.
-rwxr-xr-xextras/HOME/.xmonad/xmobar-logo2
-rw-r--r--src/Internal/DMenu.hs2
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 '<fn=5><fc=#1785bd></fc></fn>' ;;
*Debian*) exec echo '<fn=5><fc=#c00649></fc></fn>' ;;
*Ubuntu*) exec echo '<fn=5><fc=#ff8888></fc></fn>' ;;
- *Linux*) exec echo '<fn=5><fc=#ffffff></fc></fn>' ;;
+ *Linux*) exec echo '<icon=/home/rahm/.xmonad/void.xpm/>' ;;
*BSD*) exec echo '<fn=5><fc=#ff4444></fc></fn>' ;;
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