From 6476ac80e8959bb8034a0a2860023d8eb2ac8375 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Wed, 12 Oct 2022 12:58:00 +0300 Subject: Update xmonad system and zsh --- .config/xmonad/xmonad_keys.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 .config/xmonad/xmonad_keys.sh (limited to '.config/xmonad/xmonad_keys.sh') diff --git a/.config/xmonad/xmonad_keys.sh b/.config/xmonad/xmonad_keys.sh new file mode 100755 index 0000000..f9d9b3a --- /dev/null +++ b/.config/xmonad/xmonad_keys.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +set -euo pipefail + + +sed -n '/START_KEYS/,/END_KEYS/p' ~/.xmonad/xmonad.hs | \ + grep -e ', ("' \ + -e '\[ (' \ + -e 'KB_GROUP' | \ + grep -v '\-\- , ("' | \ + sed -e 's/^[ \t]*//' \ + -e 's/, (/(/' \ + -e 's/\[ (/(/' \ + -e 's/-- KB_GROUP /\n/' \ + -e 's/", /"\t: /' | \ + yad --text-info --back=#282c34 --fore=#46d9ff --geometry=1200x800 -- cgit v1.2.3