update currentWorkspace

This commit is contained in:
2025-09-17 13:05:06 -04:00
parent 183d351cea
commit 0a53c6933e
3 changed files with 4 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
#!/usr/bin/env fish
niri msg workspaces | rg "^ \*" | sed -E 's/[[:space:]]+\* //g'

View File

@@ -0,0 +1,3 @@
#!/usr/bin/env fish
niri msg --json workspaces | jq -r '.[] | select(.is_focused == true) | .["id"]'