refactor: new system basics

This commit is contained in:
2025-05-29 18:18:25 +02:00
parent f4ea18dc1a
commit c0ca42d166
92 changed files with 190009 additions and 12 deletions

9
polybar/scripts/listxkbmap.sh Executable file
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}