🔧 (home) update eww scripts, broken socket paths
This commit is contained in:
parent
04ccbc4ea7
commit
17455b5d01
|
@ -2,5 +2,5 @@
|
||||||
hyprctl monitors -j | jaq '.[] | select(.focused) | .activeWorkspace.id'
|
hyprctl monitors -j | jaq '.[] | select(.focused) | .activeWorkspace.id'
|
||||||
|
|
||||||
# print current active workspace id on workspace changes
|
# print current active workspace id on workspace changes
|
||||||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
|
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
|
||||||
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'
|
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'
|
||||||
|
|
|
@ -10,6 +10,6 @@ spaces (){
|
||||||
spaces
|
spaces
|
||||||
|
|
||||||
# print info on workspace changes
|
# print info on workspace changes
|
||||||
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
socat -u UNIX-CONNECT:/$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
||||||
spaces
|
spaces
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue