dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit 7e7d52b3efbb738a6bb347f92f26ea3f8bb7a705
parent 9277a4c962acebdfd3cabb75a25499376ea0531c
Author: Chris Noxz <chris@noxz.tech>
Date:   Mon, 30 Mar 2020 18:36:40 +0200

[bin] remove references to old ztatusc

Diffstat:
Dbin/.local/bin/listen-ac-change | 8--------
Mbin/.local/bin/listen-new-mail | 1-
Mbin/.local/bin/listen-new-pkg | 1-
Mx/.config/X11/xinitrc | 1-
4 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/bin/.local/bin/listen-ac-change b/bin/.local/bin/listen-ac-change @@ -1,8 +0,0 @@ -#!/bin/sh - -STATUS_FILE="/tmp/.ac_status" - -[ ! -f "$STATUS_FILE" ] && touch "$STATUS_FILE" - -# Listen for changes forever -echo "$STATUS_FILE" | entr -n -p 2>/dev/null ztatusc update power diff --git a/bin/.local/bin/listen-new-mail b/bin/.local/bin/listen-new-mail @@ -8,5 +8,4 @@ while true; do 2>/dev/null | entr -n -r -a -d -p 2>/dev/null echo count="$(find "$HOME"/mail/webmail-*/INBOX/new/* 2>/dev/null | wc -l)" [ "$count" != "0" ] && ztatus-notify "you have $count new mail(s)" - ztatusc update mail done diff --git a/bin/.local/bin/listen-new-pkg b/bin/.local/bin/listen-new-pkg @@ -4,5 +4,4 @@ ls /var/db/xbps/pkgdb*.plist | entr -n -p -s ' count="$(pkg queue | wc -l)" [ "$count" != "0" ] && ztatus-notify "you have $count new pakage(s)" - ztatusc update updates ' diff --git a/x/.config/X11/xinitrc b/x/.config/X11/xinitrc @@ -53,7 +53,6 @@ dwm) # start prerequisites [ ! $(pidof -x listen-new-mail) ] && "$HOME/.local/bin/listen-new-mail" & [ ! $(pidof -x listen-new-pkg) ] && "$HOME/.local/bin/listen-new-pkg" & - [ ! $(pidof -x listen-ac-change) ] && "$HOME/.local/bin/listen-ac-change" & [ ! $(pidof -x ztatus) ] && sh -c 'sleep .5; /usr/local/bin/ztatus' & # start sxhkd (Simple X hotkey daemon)