From 0438660003a5f3cbdb2dd8a42961e0c8629f80b9 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 13 Aug 2023 01:09:49 +0200 Subject: waybar: Add waybar configuration --- .config/waybar/custom/keyboard | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 .config/waybar/custom/keyboard (limited to '.config/waybar/custom/keyboard') diff --git a/.config/waybar/custom/keyboard b/.config/waybar/custom/keyboard new file mode 100755 index 0000000..eba7e61 --- /dev/null +++ b/.config/waybar/custom/keyboard @@ -0,0 +1,11 @@ +#!/bin/sh + +hyprctl devices | sed -En ' +/^\tKeyboard at/ { + :loop + n + /^\t\t\trules: /! b loop + s/.* l "([^"]+)", v "([^"]+)".*/\1(\2)/p + q +} +' -- cgit v1.2.3