about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aliasrc4
-rw-r--r--config/cwmrc18
-rw-r--r--config/dunst/dunstrc4
-rw-r--r--config/ksh/functions/l.8
-rw-r--r--config/lf/lfrc10
-rw-r--r--config/shrc8
6 files changed, 22 insertions, 30 deletions
diff --git a/config/aliasrc b/config/aliasrc
index 88d0ba7..5106070 100644
--- a/config/aliasrc
+++ b/config/aliasrc
@@ -38,8 +38,8 @@ alias \
 	pi='pkg_info -D snap'\
 	pl='pkglocate'\
 	f="\$FILE"\
-	e="\$EDITOR"\
-	v="\$EDITOR"\
+	e="TERM=xterm-256color \$EDITOR"\
+	v="TERM=xterm-256color \$EDITOR"\
 	yt='youtube-dl'\
 	ya="youtube-dl --config-location \$XDG_CONFIG_HOME/youtube-dl/config-music" \
 	unwww='bombadillo'\
diff --git a/config/cwmrc b/config/cwmrc
index 0a34d84..cc3b5e4 100644
--- a/config/cwmrc
+++ b/config/cwmrc
@@ -13,10 +13,11 @@ autogroup 9 pass
 #aesthetics
 fontname "Cozette:style=Medium:pixelsize=11"
 borderwidth 1
+color urgencyborder	"#cc3214"
 color activeborder	"#6b996b"
 color inactiveborder	"#4c4635"
 color groupborder	"#3c7b7f"
-color ungroupborder	"#cc3214"
+color ungroupborder	"#7a4955"
 color menubg		"#14130e"
 color menufg		"#b7a980"
 color font		"#3d6266"
@@ -25,15 +26,11 @@ color selfont		"#72694f"
 #don't want any default keys
 unbind-key all
 unbind-mouse all
-#program list
-command term xterm
-command lock slock
 #program spawning
 #bind-key 4-d dmenu_run
 bind-key 4-d menu-exec
-bind-key 4S-d menu-cmd
 bind-key 4C-d menu-window-hidden
-bind-key 4-Return terminal
+bind-key 4-Return "sh -c \"$TERMINAL\""
 #bind-key 4S-Return "sh -c \"$TERMINAL -class popup"
 bind-key 4-e "sh -c \"$TERMINAL -e env TERM=xterm-256color $EDITOR\""
 #bind-key 4S-e "sh -c \"$TERMINAL -class popup -e env TERM=xterm-256color $EDITOR\""
@@ -46,7 +43,6 @@ bind-key 4-m "sh -c \"$TERMINAL -class musictui -e $MUSIC\""
 bind-key 4-c "sh -c \"$TERMINAL -class mail -e $MAILER\""
 bind-key 4-n "sh -c \"$TERMINAL -e $RSS\""
 bind-key 4-r "sh -c \"$TERMINAL -e $FILE\""
-bind-key 4S-r "sh -c \"$READER\""
 bind-key 4-p "sh -c \"$SCR -u $(xdg-user-dir PICTURES)/screenshot-$(date +%Y-%m-%d_%T).png\""
 bind-key 4S-p "sh -c \"$SCR -us $(xdg-user-dir PICTURES)/screenshot-$(date +%Y-%m-%d_%T).png\""
 bind-key 4S-comma "mpc -q prev"
@@ -67,9 +63,9 @@ bind-key 4C-equal "xbacklight -inc 5"
 bind-key 4C-minus "xbacklight -dec 5"
 bind-key 4CS-equal "xbacklight -inc 15"
 bind-key 4CS-minus "xbacklight -dec 15"
-bind-key 4-x lock
-bind-key 4S-x "sh -c \"prompt 'shutdown computer?' 'doas shutdown -p now'\""
-bind-key 4S-BackSpace "sh -c \"prompt 'reboot computer?' 'doas shutdown -r now'\""
+bind-key 4-x "sh -c \"$LOCK\""
+bind-key 4S-x "prompt 'shutdown computer?' 'doas halt -p'"
+bind-key 4S-BackSpace "prompt 'reboot computer?' 'doas reboot'"
 bind-key 4-b "sh -c \"pkill dzen2||bar.sh\""
 #window nav
 bind-key 4-j window-cycle
@@ -115,7 +111,7 @@ bind-key 4-0 group-toggle-all
 bind-key 4S-0 window-stick
 bind-key 4C-0 window-hide
 #exits
-bind-key 4-F2 restart
+bind-key 4S-r restart
 bind-key 4S-Escape quit
 #group designation/nav
 bind-key 4-g window-group
diff --git a/config/dunst/dunstrc b/config/dunst/dunstrc
index 6687369..247809b 100644
--- a/config/dunst/dunstrc
+++ b/config/dunst/dunstrc
@@ -50,9 +50,7 @@
     show_indicators = yes
 
     ### Icons ###
-    icon_position = left
-    max_icon_size = 64
-    icon_path = /usr/local/share/icons/Adwaita/16x16/status/:/usr/local/share/icons/Adwaita/16x16/devices/
+    icon_position = off
 
     ### History ###
     sticky_history = yes
diff --git a/config/ksh/functions/l. b/config/ksh/functions/l.
index 8beac4e..e4a759e 100644
--- a/config/ksh/functions/l.
+++ b/config/ksh/functions/l.
@@ -1,8 +1,10 @@
 #!/bin/ksh
-l.() {
+function l. {
 	if [[ -n "$1" ]]; then
-		exa -Fbd "$1"/.*
+		( cd "$1" 2>/dev/null ||\
+			{ echo "$0: $1 - No such directory" >&2 ; exit; }
+		ls -d .* )
 	else
-		exa -Fbd .*
+		ls -d .*
 	fi
 }
diff --git a/config/lf/lfrc b/config/lf/lfrc
index 138c470..880ea97 100644
--- a/config/lf/lfrc
+++ b/config/lf/lfrc
@@ -5,16 +5,12 @@ set ifs "\n"
 
 set promptfmt "\033[1;31m%u\033[0;32m@\033[1;34m%h\033[0m:\033[1;36m%w/\033[0m\033[1m%f\033[0m"
 # cmds
-cmd open ${{
-	opener $f
-}}
-
 cmd ttmsh ${{
-	TTMURL="curl -F 'file=@-' https://ttm.sh < $f"
+	TTMURL="$(curl -F 'file=@'$f https://ttm.sh)"
 	if [ -n "$TTMURL" ]; then
 		echo "$TTMURL"|tee "$HOME/ttmsh"|xclip -r
-	done
-	notify-send  'successfully uploaded to ttm!' 'link copied to selection, backup is in $HOME/ttmsh'
+		notify-send  'successfully uploaded to ttm!' 'link copied to selection, backup is in $HOME/ttmsh'
+	fi
 }}
 
 cmd rename %[ -e $1 ] && printf "file exists" || mv $f $1
diff --git a/config/shrc b/config/shrc
index 533386f..10f5287 100644
--- a/config/shrc
+++ b/config/shrc
@@ -19,7 +19,7 @@ export EDITOR="vise"
 export FILE="lf"
 export PAGER="less"
 export TERMINAL="xterm"
-export ALTSCR="st-altscreen"
+export OPENER="op"
 export BROWSER="firefox"
 export COMM="comm-sel"
 export READER="zathura"
@@ -30,8 +30,6 @@ export SCR="maim"
 export LOCK="slock"
 #less args
 export LESS='-iFMRX~ -x2'
-#ircii (and derivatives) ircservers location
-export IRC_SERVERS_FILE="$HOME_DATA/ircservers"
 #locale info
 export LANGUAGE="en"
 export LANG="POSIX.UTF-8"
@@ -39,7 +37,7 @@ export LC_ALL="POSIX.UTF-8"
 #lscolor
 export CLICOLOR=1
 #todo(1)
-export TODO="$HOME/doc/todo"
+export TODO="$HOME_DATA/xdg/doc/todo"
 #ksh
 export ENV="$HOME_ETC/ksh/kshrc"
 
@@ -47,6 +45,8 @@ export ENV="$HOME_ETC/ksh/kshrc"
 export GTK2_RC_FILES="$HOME_ETC/gtk-2.0/gtkrc-2.0"
 export LESSHISTFILE="-"
 export GOPATH="$HOME_EXT/go"
+export GOCACHE="$HOME_CACHE/go"
+export GOBIN="$HOME_EXT_BIN"
 export CARGO_HOME="$HOME_EXT/rust"
 export PYTHONUSERBASE="$HOME_EXT/python"
 export MEDNAFEN_HOME="$HOME_ETC/mednafen"