diff --git a/files/.config/dk/sxhkdrc b/files/.config/dk/sxhkdrc index 5757ab1..cca9b29 100644 --- a/files/.config/dk/sxhkdrc +++ b/files/.config/dk/sxhkdrc @@ -33,10 +33,6 @@ super + ctrl + shift + r super + {j,k} dkcmd win focus {next,prev} -# close window -super + shift + d - dkcmd win kill - # swap window in master super + Return dkcmd win swap diff --git a/files/.config/service/sxhkd/run b/files/.config/service/sxhkd/run index 3a12ab1..a43c8c3 100755 --- a/files/.config/service/sxhkd/run +++ b/files/.config/service/sxhkd/run @@ -1,4 +1,4 @@ #!/bin/sh +exec 2>&1 cd -exec chpst -e "$TURNSTILE_ENV_DIR" \ - sxhkd -c "$HOME/.config/dk/sxhkdrc" +exec chpst -e "$TURNSTILE_ENV_DIR" sxhkd \ No newline at end of file diff --git a/files/.zshrc b/files/.zshrc index 38cdb83..5851e87 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -10,8 +10,9 @@ setopt histignoredups histignorespace incappendhistory extendedhistory SAVEHIST=9000 HISTSIZE=9000 HISTFILE=~/.zsh_history # minimal functions, 08sep2017 +leah+ g() { LC_ALL=C grep --exclude "*~" -r -P ${@:?regexp missing} } -l() { find ${2:-.} ! -type d | sed 's:^\./::' | egrep "$1" } sprunge() { cat $@ | curl -sF 'sprunge=<-' http://sprunge.us } +# minimal functions, 02mar +mkcd() { mkdir -p "$1"; cd "$1" } alias xi='xi -y' alias vi='vis' @@ -21,4 +22,4 @@ alias pc='pass -c' alias pe='pass edit' cdpath="$HOME" -printf '%s +%s+\n' "$(date +%d%b%Y)" "$(hostname)" +printf '%s +%s+\n' "$(date +%d%b%Y | tr [:upper:] [:lower:])" "$(hostname)"