Remove all org files using a new script to more config over, The old org file configuaration were great but required org. This new version only requires the scripts that is included in the repo. The configuration are all done but have not ported the theming system yet. Signed-off-by: Steve Beaulac <steve@sagacity.ca> Change-Id: I14cd7fe058a71c8ba9d6d35397dc8d7e6a6a6964
9 lines
599 B
Bash
Executable File
9 lines
599 B
Bash
Executable File
#!/bin/sh
|
|
chooser="walker -d -V 2 -t '|'"
|
|
selected=$(hyprctl clients -j | jq -r 'to_entries | .[] | select(.value.hidden == false) | "\(.key). w\(.value.workspace.name): m\(.value.monitor): \(.value.class)\t \(.value.title)\t |\(.value.address)"' | $chooser -p 'Client to Focus')
|
|
addr=$(echo $selected | awk -F'|' '{ print $NF }')
|
|
json=$(hyprctl clients -j | jq -r ".[] | select(.address == \"$addr\")")
|
|
client=$(echo $json | jq -r '.address')
|
|
workspace=$(echo $json | jq -r '.workspace.id')
|
|
hyprctl dispatch focusworkspaceoncurrentmonitor "$workspace"
|
|
hyprctl dispatch focuswindow "address:$client" |