refactor: new system basics

This commit is contained in:
dqnid committed 2025-05-29 18:18:25 +02:00
1 parent f4ea18dc1a
commit c0ca42d166
92 files changed
+190009 -12

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
layout=$(xkb-switch)
caps_lock_status=$(xset -q | sed -n 's/^.*Caps Lock:\s*\(\S*\).*$/\1/p')
if [ $caps_lock_status == "on" ]; then
caps="- CAPS"
fi
echo ${layout:0:2} ${caps}