dot

packages and services management
Log | Files | Refs | README

commit 8025c385b570354ea90f7468ce6a7948ffbac7bc
parent 385a95d52351f2bc1ba4f9724c97601ddfdf3722
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 19 Nov 2017 01:20:29 +0100

renamed some resources

Diffstat:
Mbin/daemon | 2+-
Mbin/monitor | 2+-
Mbin/xdg-open | 2+-
Mdaemon/git | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/daemon b/bin/daemon @@ -8,7 +8,7 @@ cmd=$1 case $cmd in ('') ls -1 "$HOME/etc/daemon" | while IFS='' read -r svc - do printf '%-14s: %s\n' "$svc" "$(pgrep "$svc" | tr '\n' ' ')" + do printf '%-14s: %s\n' "$svc" "$(pgrep -x "$svc" | tr '\n' ' ')" done ;; (start) diff --git a/bin/monitor b/bin/monitor @@ -15,7 +15,7 @@ case "$(uname)" in (SunOS ) mem=free bi='' bo='' ;; esac -exec awk -v mem="$mem" -v bi="$bi" -v bo="$bo" ' +awk -v mem="$mem" -v bi="$bi" -v bo="$bo" ' BEGIN { "date +%s" | getline time; diff --git a/bin/xdg-open b/bin/xdg-open @@ -61,7 +61,7 @@ case $1 in (*.jpg|*.jpeg|*.png) exec feh -. "$1" ;; -(*.gif|*.webm|*.mp4|*.mp3|*.flac|*.ogg|*.opus) +(*.gif|*.webm|*.mp4|*.mkv|*.mp3|*.flac|*.ogg|*.opus) exec mplayer "$1" ;; (*.[0-9]|*.[0-9]p|*.[0-9].gz) diff --git a/daemon/git b/daemon/git @@ -1,3 +1,3 @@ #!/bin/sh -exec git daemon --base-path="$HOME/var/git" --export-all & +exec git daemon --base-path="$HOME/var/srv/git.josuah.net" --export-all &