From 2cb7966374c8deed016216e3fb1e8243993e5b37 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 31 May 2018 13:16:48 -0700 Subject: [PATCH 1/2] [Linux] Use /usr/bin/env to start user services --- dotfiles/config/systemd/user/compton.service | 4 ++-- dotfiles/config/systemd/user/imwheel.service | 2 +- dotfiles/config/systemd/user/nm-applet.service | 2 +- dotfiles/config/systemd/user/volnoti.service | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dotfiles/config/systemd/user/compton.service b/dotfiles/config/systemd/user/compton.service index 55be46b1..d91a1c42 100644 --- a/dotfiles/config/systemd/user/compton.service +++ b/dotfiles/config/systemd/user/compton.service @@ -3,8 +3,8 @@ Description=compton [Service] Type=simple -ExecStart=/usr/bin/compton -cC -ExecStop=/usr/bin/pkill compton +ExecStart=/usr/bin/env compton -cC +ExecStop=/usr/bin/env pkill compton [Install] WantedBy=wm.target diff --git a/dotfiles/config/systemd/user/imwheel.service b/dotfiles/config/systemd/user/imwheel.service index 996e7a56..1dc8134f 100644 --- a/dotfiles/config/systemd/user/imwheel.service +++ b/dotfiles/config/systemd/user/imwheel.service @@ -3,7 +3,7 @@ Description=imwheel [Service] Type=simple -ExecStart=/usr/bin/imwheel -b 45 +ExecStart=/usr/bin/env imwheel -b 45 ExecStop=/usr/bin/pkill imwheel RemainAfterExit=yes diff --git a/dotfiles/config/systemd/user/nm-applet.service b/dotfiles/config/systemd/user/nm-applet.service index e72ede87..4d2b56ef 100644 --- a/dotfiles/config/systemd/user/nm-applet.service +++ b/dotfiles/config/systemd/user/nm-applet.service @@ -5,7 +5,7 @@ After=status-notifier-watcher.service [Service] Type=simple -ExecStart=/usr/bin/nm-applet --sm-disable --indicator +ExecStart=/usr/bin/env nm-applet --sm-disable --indicator ExecStop=/usr/bin/pkill nm-applet [Install] diff --git a/dotfiles/config/systemd/user/volnoti.service b/dotfiles/config/systemd/user/volnoti.service index d9f87563..19fb8c40 100644 --- a/dotfiles/config/systemd/user/volnoti.service +++ b/dotfiles/config/systemd/user/volnoti.service @@ -3,7 +3,7 @@ Description=volnoti [Service] Type=simple -ExecStart=/usr/bin/volnoti -n -v +ExecStart=/usr/bin/env volnoti -n -v ExecStop=/usr/bin/pkill volnoti [Install] From ca166bd1a2f5cf7db4b81a1f3ae6611f30404a2a Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 31 May 2018 15:59:14 -0700 Subject: [PATCH 2/2] [taffybar] Use github pointer for github --- dotfiles/config/taffybar/stack.yaml | 4 +++- dotfiles/lib/bin/xmonad | 10 ---------- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100755 dotfiles/lib/bin/xmonad diff --git a/dotfiles/config/taffybar/stack.yaml b/dotfiles/config/taffybar/stack.yaml index e8461d13..ee3aa68c 100644 --- a/dotfiles/config/taffybar/stack.yaml +++ b/dotfiles/config/taffybar/stack.yaml @@ -14,7 +14,9 @@ packages: # extra-dep: true # - location: ../../../../Projects/gtk-sni-tray # extra-dep: true -- location: '../../../../Projects/github' +- location: + git: git@github.com:IvanMalison/github.git + commit: af73bd9e193b045a25bccf86061858db21091508 extra-dep: true extra-deps: - X11-xft-0.3.1 diff --git a/dotfiles/lib/bin/xmonad b/dotfiles/lib/bin/xmonad deleted file mode 100755 index 47e6a2c5..00000000 --- a/dotfiles/lib/bin/xmonad +++ /dev/null @@ -1,10 +0,0 @@ -#!/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