minor improvements
authorIan Kelling <ian@iankelling.org>
Mon, 25 May 2026 17:47:51 +0000 (13:47 -0400)
committerIan Kelling <ian@iankelling.org>
Mon, 25 May 2026 17:47:51 +0000 (13:47 -0400)
brc
pqrc-v
subdir_files/.config/konsolerc

diff --git a/brc b/brc
index 5045e39de62c8998f76d78686c9a4be3bc5406db..1abad36f261acf523a872cbe0b95a5bd8251cf9f 100644 (file)
--- 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 a92b37a9e29f077f24ea2537fac5aca53e788c86..898a64d07c110896e38dabd415ee0bf632e58a8e 100644 (file)
--- 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.
index 354f4976b24b51fca83e810b810c9150a417866a..dae54f76b12cf6b36d8389a06ab893b3c1c895f3 100644 (file)
@@ -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