feat(homelab): migrate server to fabric

This commit is contained in:
2026-01-29 17:20:25 -08:00
parent ae407c99c1
commit bd4dd7ba23
3 changed files with 48 additions and 4 deletions

18
scripts/layout.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Rofi-based keyboard layout switcher for Hyprland
layouts="🇨🇦 Canadian (CA)
🇯🇵 Japanese (JP)"
selected=$(echo "$layouts" | rofi -dmenu -p "Layout")
case "$selected" in
*"Canadian"*)
hyprctl switchxkblayout all 0
notify-send -h string:synchronous:keyboard "Keyboard" "🇨🇦 Canadian (CA)"
;;
*"Japanese"*)
hyprctl switchxkblayout all 1
notify-send -h string:synchronous:keyboard "Keyboard" "🇯🇵 Japanese (JP)"
;;
esac