From dfff78a2e0ec69e60cfb267ae071eb3c602cece3 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Tue, 30 Aug 2022 19:29:26 +0530 Subject: zathurarc changes - no error + pidkillall comment typofix --- .config/zathura/zathurarc | 11 +++-------- .scripts/pidkillall | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index 002b393..2325ce4 100644 --- a/.config/zathura/zathurarc +++ b/.config/zathura/zathurarc @@ -5,17 +5,12 @@ set page-padding 1 map j scroll half-down map k scroll half-up -#map D toggle_page_mode +map J zoom out +map K zoom in + map r reload map R rotate -map J zoom in -map K zoom out -#map u = - -map H previous -map L next - map search forward map search backward diff --git a/.scripts/pidkillall b/.scripts/pidkillall index 1ebc38f..faf8705 100755 --- a/.scripts/pidkillall +++ b/.scripts/pidkillall @@ -1,7 +1,7 @@ #!/bin/sh psout=$(ps -u $USER -o pid,%cpu,%mem,comm | sed -n '1!p' | sort -b -k2 -r| cut --characters=1-18 --complement | awk '!x[$0]++'| dmenu -i -l 15 ) -//uniq without piping into sort before with the help of awk +##uniq without piping into sort before with the help of awk killall $psout 2>/dev/null && [ -n "$psout" ] && dunstify "Terminated all processes Successfully" "$psout was killed" -i skull -- cgit v1.2.3