From d678ae3b68978489d68050e395e3e39e1c697ba5 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 25 Aug 2017 18:25:25 -0700 Subject: [PATCH] [shell] XMonad script --- dotfiles/lib/bin/xmonad | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 dotfiles/lib/bin/xmonad diff --git a/dotfiles/lib/bin/xmonad b/dotfiles/lib/bin/xmonad new file mode 100755 index 00000000..47e6a2c5 --- /dev/null +++ b/dotfiles/lib/bin/xmonad @@ -0,0 +1,10 @@ +#!/usr/bin/env zsh +# -*- mode:sh + +if command_exists "imalison-taffybar"; then + imalison-xmonad "$@" +else + # Move .lib/bin to the end of PATH so that this script is not called again + add_to_path "$HOME/.lib/bin" --after + xmonad "$@" +fi