about summary refs log tree commit diff stats
path: root/config/color
diff options
context:
space:
mode:
authorensa <psii@riseup.net>2021-09-16 17:37:41 -0700
committerensa <psii@riseup.net>2021-09-16 17:37:41 -0700
commitebae3707b36e9a83014ef08271d75bd9826bb999 (patch)
tree9a9a0b3d9a7c6a4475a5394f2bd25848ebadb552 /config/color
parent3f4e930385675a4613db5f12b19557b126c29559 (diff)
downloadcfg-ebae3707b36e9a83014ef08271d75bd9826bb999.tar.gz
organization and replacements, fixes
bin/
	bother, mbsync-cron, rsschk: notify-send switched to notif
	catgirl-open.sh: simplified
	comm-sel: removed cordless
	kbsetup: sets up keyboard stuff
	lh: cleanup
		added mov and wav support
		audio files now create a terminal mpv
	notif: sends notification to xnotify
config/
	X11/
		xprofile: replaced keyboard lines with kbsetup
			replaced dunst with xnotify/tiramisu
			added a line for cleaning up catgirl-open.sh
		xresources: xnotify resources
	betteresc: xmodmap file for easy-to-access hyper key
	color/colors.sh: cleaned up
	dunst/dunstrc: removed
	lf/lfrc: fixed prompt
		replaced notify-send with notif
	shrc: moved MEDNAFEN_HOME to $HOME_EXT
	vis/visrc.lua: add ctags, fix hyper|esc issue
Diffstat (limited to 'config/color')
-rwxr-xr-xconfig/color/colors.sh36
1 files changed, 18 insertions, 18 deletions
diff --git a/config/color/colors.sh b/config/color/colors.sh
index 7fbb314..dd8c49a 100755
--- a/config/color/colors.sh
+++ b/config/color/colors.sh
@@ -1,22 +1,22 @@
 #!/bin/sh
 TMP=$(mktemp)
 xrdb -query>$TMP
-foreground=$(grep -F '*foreground:' < $TMP | cut -f 2 | head -1)
-background=$(grep -F '*background:' < $TMP | cut -f 2 | head -1)
-color0=$(grep -F '*color0:' < $TMP | cut -f 2 | head -1)
-color1=$(grep -F '*color1:' < $TMP | cut -f 2 | head -1)
-color2=$(grep -F '*color2:' < $TMP | cut -f 2 | head -1)
-color3=$(grep -F '*color3:' < $TMP | cut -f 2 | head -1)
-color4=$(grep -F '*color4:' < $TMP | cut -f 2 | head -1)
-color5=$(grep -F '*color5:' < $TMP | cut -f 2 | head -1)
-color6=$(grep -F '*color6:' < $TMP | cut -f 2 | head -1)
-color7=$(grep -F '*color7:' < $TMP | cut -f 2 | head -1)
-color8=$(grep -F '*color8:' < $TMP | cut -f 2 | head -1)
-color9=$(grep -F '*color9:' < $TMP | cut -f 2 | head -1)
-color10=$(grep -F '*color10:' < $TMP | cut -f 2 | head -1)
-color11=$(grep -F '*color11:' < $TMP | cut -f 2 | head -1)
-color12=$(grep -F '*color12:' < $TMP | cut -f 2 | head -1)
-color13=$(grep -F '*color13:' < $TMP | cut -f 2 | head -1)
-color14=$(grep -F '*color14:' < $TMP | cut -f 2 | head -1)
-color15=$(grep -F '*color15:' < $TMP | cut -f 2 | head -1)
+foreground=$(grep -F -m 1 '*foreground:' < $TMP | cut -f 2)
+background=$(grep -F -m 1 '*background:' < $TMP | cut -f 2)
+color0=$(grep -F -m 1 '*color0:' < $TMP | cut -f 2)
+color1=$(grep -F -m 1 '*color1:' < $TMP | cut -f 2)
+color2=$(grep -F -m 1 '*color2:' < $TMP | cut -f 2)
+color3=$(grep -F -m 1 '*color3:' < $TMP | cut -f 2)
+color4=$(grep -F -m 1 '*color4:' < $TMP | cut -f 2)
+color5=$(grep -F -m 1 '*color5:' < $TMP | cut -f 2)
+color6=$(grep -F -m 1 '*color6:' < $TMP | cut -f 2)
+color7=$(grep -F -m 1 '*color7:' < $TMP | cut -f 2)
+color8=$(grep -F -m 1 '*color8:' < $TMP | cut -f 2)
+color9=$(grep -F -m 1 '*color9:' < $TMP | cut -f 2)
+color10=$(grep -F -m 1 '*color10:' < $TMP | cut -f 2)
+color11=$(grep -F -m 1 '*color11:' < $TMP | cut -f 2)
+color12=$(grep -F -m 1 '*color12:' < $TMP | cut -f 2)
+color13=$(grep -F -m 1 '*color13:' < $TMP | cut -f 2)
+color14=$(grep -F -m 1 '*color14:' < $TMP | cut -f 2)
+color15=$(grep -F -m 1 '*color15:' < $TMP | cut -f 2)
 rm $TMP