1
0
Fork 0
dotfiles/polybar/get_workspace
2021-11-09 12:16:41 +01:00

5 lines
119 B
Bash
Executable file

#!/bin/sh
# depends on `jq'
i3-msg -t get_workspaces \
| jq '.[] | select(.focused==true).name' \
| cut -d"\"" -f2