tadded the possibility to specify file to cdump - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit ff2ff532dbf9784e96c14b9d58d5c10599f1b619
(DIR) parent 43baa8c152cd0fc5c0d2b5d82b98b73f5d2a5439
(HTM) Author: z3bra <willy@mailoo.org>
Date: Fri, 28 Nov 2014 12:35:33 +0100
added the possibility to specify file to cdump
Diffstat:
M cdump | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/cdump b/cdump
t@@ -1,7 +1,6 @@
#!/bin/sh
-FILE=$HOME/etc/Xresources
-FILE=$HOME/etc/theme/wine
+FILE=${1:-$HOME/etc/theme/wine}
for NUM in $(seq 0 7); do
CN=$(grep "^\*color${NUM}:" $FILE | cut -d':' -f2 | tr -d ' ')