From d25bb738e7c5c636359af852eba946006a2eafff Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Wed, 12 May 2021 18:12:03 +0530 Subject: added sudo plugin & fixed ss keybinding --- sxhkd/.config/sxhkd/sxhkdrc | 2 +- zsh/.zshrc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 3febfda..2b6de5d 100755 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -18,7 +18,7 @@ Print maim ~/screens/$(date +%d-%b-%y-%I:%M%p).png control + Print maim -i $(xdotool getactivewindow) ~/screens/$(date +%d-%b-%y-%I:%M%p).png -control + shift + Print +control + alt + Print maim -s ~/screens/$(date +%d-%b-%y-%I:%M%p).png super + shift + p passmenu -i -fn "Input Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f" diff --git a/zsh/.zshrc b/zsh/.zshrc index f9df05f..38cec68 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -81,7 +81,7 @@ compinit # vi mode bindkey -v -export KEYTIMEOUT=1 +# export KEYTIMEOUT=1 # reverse search bindkey '^R' history-incremental-search-backward @@ -114,5 +114,6 @@ zle -N zle-line-init echo -ne '\e[5 q' # Use beam shape cursor on startup. preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt. -# Load zsh-syntax-highlighting; should be last. +# Load plugins +source ~/.cache/zsh/plugins/sudo.plugin.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null -- cgit v1.2.3