From 77d57c885e78a2ee10d656869ab3fdaf8a77f033 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Fri, 7 Jan 2022 19:15:25 +0100 Subject: [PATCH] config: add sway utils --- .config/sway/config.d/keyboard.conf | 3 +++ .local/bin/scripts/help | 2 ++ README.org | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .config/sway/config.d/keyboard.conf diff --git a/.config/sway/config.d/keyboard.conf b/.config/sway/config.d/keyboard.conf new file mode 100644 index 0000000..81d4835 --- /dev/null +++ b/.config/sway/config.d/keyboard.conf @@ -0,0 +1,3 @@ +input * xkb_layout de +input * xkb_numlock enabled +input * xkb_options caps:swapescape diff --git a/.local/bin/scripts/help b/.local/bin/scripts/help index 9799c45..b9b1c54 100755 --- a/.local/bin/scripts/help +++ b/.local/bin/scripts/help @@ -17,6 +17,8 @@ case $1 in (kdeconnect*) kdeconnect-cli --help-all "${@:2}" | $paginate;; (vlc) unbuffer vlc --full-help "${@:2}" | $paginate;; (pandoc) man pandoc; highlight "Extensions" && pandoc --list-extensions;; + (swaymsg) test $# -gt 1 && man sway "${@:2}" || man swaymsg;; + (swaymsg-*) man sway "${1#swaymsg-}";; (*) man "$@" || { info "$1" -w | grep -v "manpages" && pinfo "$@"; } || if which "$1" >/dev/null; then "$@" --help; "$@" -help 2>&1 | $paginate; fi;; diff --git a/README.org b/README.org index dcae075..8c71689 100644 --- a/README.org +++ b/README.org @@ -57,7 +57,8 @@ makepkg -si - productivity :: activitywatch-bin jrnl - sync :: syncthing : systemctl enable --now syncthing -- personal aur utils (need configuration) :: [[https://github.com/mookid/diffr][diffr]] bat-extras-git rdictcc-git neovim-symlinks stderred-git +- personal aur utils (only useful with dotfiles) :: [[https://github.com/mookid/diffr][diffr]] bat-extras neovim-symlinks stderred-git + rdictcc-git : pip install beautifulsoup4 - experiments :: kakoune ** Graphical