From: Ian Kelling Date: Mon, 25 May 2026 17:47:51 +0000 (-0400) Subject: minor improvements X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=1577c20ac90dd4d57813d909349e691c41d708c8;p=distro-setup minor improvements --- diff --git a/brc b/brc index 5045e39..1abad36 100644 --- a/brc +++ b/brc @@ -1138,7 +1138,9 @@ utcl() { # utc 24 hour time to local hour 24 hour time } bwm() { - s bwm-ng -T avg -d + # useful: update interval: -t MSEC # default 500 ms is hard to read. + # -d1: human units + s bwm-ng -d1 -Tavg -t1000 "$@" } @@ -1815,6 +1817,16 @@ faf() { -o -name .hg -prune -o -name .editor-backups -prune \ -o -name .undo-tree-history -prune \) \! -type d 2>/dev/null } +# fas = find all shebang. filter by the last word in the shebang path +# usage: $0 INTERPRETER_BINARY_NAME [FIND_INITIAL_ARGS...] +fas() { + local name="$1" + shift + find "$@" -not \( -name .svn -prune -o -name .git -prune \ + -o -name .hg -prune -o -name .editor-backups -prune \ + -o -name .undo-tree-history -prune \) \! -type d \ + -exec awk 'FNR==1 && /^#![^ ]*\/'"$name( |$)/ {print FILENAME; nextfile}" {} + 2>/dev/null + } # like faf, but sort by modification time. like lt() faft() { diff --git a/pqrc-v b/pqrc-v index a92b37a..898a64d 100644 --- a/pqrc-v +++ b/pqrc-v @@ -2,7 +2,8 @@ \set QUIET on \set ON_ERROR_STOP on - +\set VERBOSITY verbose +\set SHOW_CONTEXT always -- print time of each query. \timing on -- print queries as they are sent to the server. diff --git a/subdir_files/.config/konsolerc b/subdir_files/.config/konsolerc index 354f497..dae54f7 100644 --- a/subdir_files/.config/konsolerc +++ b/subdir_files/.config/konsolerc @@ -23,9 +23,9 @@ ShowMenuBarByDefault=false 2 screens: Width=1916 2 screens: XPosition=2 2 screens: YPosition=2 -3840x2160 screen: Height=2156 +3840x2160 screen: Height=1076 3840x2160 screen: Width=1916 -3840x2160 screen: XPosition=2 +3840x2160 screen: XPosition=1922 3840x2160 screen: YPosition=2 DP-0=DP-0 DP-1 eDP-1=DP-1