feat: converted hyprland cofiguration to lua
This commit is contained in:
@@ -6,5 +6,7 @@ address=$(echo $selected | awk -F'::' '{print $NF}')
|
||||
#address=$(hyprctl clients -j | jq -r "to_entries | .[] | select(.value.title == '$selected') | \"\(.value.address)\"")
|
||||
json=$(hyprctl clients -j | jq -r ".[] | select(.address == \"$address\")")
|
||||
workspace=$(echo $json | jq -r '.workspace.id')
|
||||
hyprctl dispatch focusworkspaceoncurrentmonitor "$workspace"
|
||||
hyprctl dispatch focuswindow "address:$address"
|
||||
hyprctl dispatch "hl.dsp.focus({workspace = $workspace , on_current_monitor = true})"
|
||||
hyprctl dispatch "hl.dsp.focus({ window = \"address:$address\" })"
|
||||
#hyprctl dispatch focusworkspaceoncurrentmonitor "$workspace"
|
||||
#hyprctl dispatch focuswindow "address:$address"
|
||||
|
||||
Reference in New Issue
Block a user