refactor(dotfiles): separate desktop configuration

This commit is contained in:
2026-10-08 12:09:17 -04:00
parent ecf01dad51
commit 0e203b188d
160 changed files with 153 additions and 107 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
chooser="rofi -i -dmenu -display-columns 1"
selected=$(hyprctl clients -j | jq -r 'to_entries | .[] | select(.value.hidden == false) | "\(.value.title)\t\(.value.class)::\(.value.address)"' | $chooser -p 'Client to Fetch')
address=$(echo "$selected" | awk -F '::' '{print $NF}')
if [ -z "$address" ]; then
notify-send "No client selected"
exit 1
fi
hyprctl dispatch "fetch_or_launch({ match = '$address', field = 'address', cmd = 'notify-send \"$selected not found\"'})"