dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 8373762f60afa6b73eb331aa59ac1accd4860c65
parent f0748ff0d075139921e9a1ea0d047a9d471f76fc
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Tue, 23 Jan 2018 21:33:08 -0500

my: Pass parameters to external my-handlers

Diffstat:
M.local/bin/my | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.local/bin/my b/.local/bin/my @@ -26,12 +26,14 @@ case $command in XFCE) if type xfce4-terminal > /dev/null 2>&1 then + [ "$1" = "-e" ] && shift && set -- "-x" $@ exec xfce4-terminal "$@" fi ;; X-Cinnamon) if type gnome-terminal > /dev/null 2>&1 then + [ "$1" = "-e" ] && shift && set -- "-x" $@ exec gnome-terminal "$@" fi ;; @@ -97,13 +99,13 @@ case $command in fi ;; perms) - exec my-perms + exec my-perms "$@" ;; init) - exec my-init + exec my-init "$@" ;; open) - exec my-open + exec my-open "$@" ;; sound) if type pactl > /dev/null 2>&1