aboutsummaryrefslogtreecommitdiff
path: root/herbstluftwm/code
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-11-01 19:06:07 -0500
committerxero <x@xero.nu>2015-11-01 19:06:07 -0500
commitebef0b0c20a825a8d60a6da4b68d99f785612a71 (patch)
treef7e495a400ca639b330a7046dcc396c5f2c8868e /herbstluftwm/code
parentd4b12ab2d624129b0b8e4a41d41e2537d5e87988 (diff)
downloaddotfiles_ascii-ebef0b0c20a825a8d60a6da4b68d99f785612a71.tar.xz
dotfiles_ascii-ebef0b0c20a825a8d60a6da4b68d99f785612a71.zip
update herb utils to use ~/bin
Diffstat (limited to 'herbstluftwm/code')
-rwxr-xr-xherbstluftwm/code/sys/calendar15
-rwxr-xr-xherbstluftwm/code/sys/herbstluftwm-add-gap12
-rwxr-xr-xherbstluftwm/code/sys/herbstluftwm-remove-gap12
3 files changed, 0 insertions, 39 deletions
diff --git a/herbstluftwm/code/sys/calendar b/herbstluftwm/code/sys/calendar
deleted file mode 100755
index 28199ae..0000000
--- a/herbstluftwm/code/sys/calendar
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-# popup calendar for dzen
-font="-Gohu-GohuFont-Medium-R-Normal--11-80-100-100-C-60-ISO10646-1"
-TODAY=$(expr `date +'%d'` + 0)
-MONTH=`date +'%m'`
-YEAR=`date +'%Y'`
-LINES=$(cal -m | wc -l)
-LINES=$((LINES + 2))
-
-(
-date +'^bg(#111111) '
-date +''
-# current month, highlight header and today
-cal -m | sed -r -e "1,2 s/.*/^fg(#d3d3d3)&^fg()/" -e "s/(^| )($TODAY)($| )/\1^bg(#6A8C8C)^fg(#111111)\2^fg()^bg()\3/") | dzen2 -x 0 -y 16 -w 146 -h 12 -l $LINES -sa c -p -e 'onstart=uncollapse,hide;button1=exit;' -fg "#d3d3d3" -tw 6 -fn "$font"
-)
diff --git a/herbstluftwm/code/sys/herbstluftwm-add-gap b/herbstluftwm/code/sys/herbstluftwm-add-gap
deleted file mode 100755
index cc5492c..0000000
--- a/herbstluftwm/code/sys/herbstluftwm-add-gap
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-filename="/tmp/herbstluftwm-gap"
-while read -r line
-do
- gap=$line
- if [ "$gap" -le 90 ]
- then
- gap=$((gap+7))
- herbstclient set window_gap $gap
- echo $gap > $filename
- fi
-done < "$filename"
diff --git a/herbstluftwm/code/sys/herbstluftwm-remove-gap b/herbstluftwm/code/sys/herbstluftwm-remove-gap
deleted file mode 100755
index b30b3eb..0000000
--- a/herbstluftwm/code/sys/herbstluftwm-remove-gap
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-filename="/tmp/herbstluftwm-gap"
-while read -r line
-do
- gap=$line
- if [ "$gap" -ge 7 ]
- then
- gap=$((gap-7))
- herbstclient set window_gap $gap
- echo $gap > $filename
- fi
-done < "$filename"