[shell] XMonad script

This commit is contained in:
Ivan Malison 2017-08-25 18:25:25 -07:00
parent a5ea7bb616
commit d678ae3b68
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

10
dotfiles/lib/bin/xmonad Executable file
View File

@ -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