eww: Fixed workspaces script for newer nushell

This commit is contained in:
Erwin Boskma 2024-05-17 22:25:56 +02:00
parent c3a459ced3
commit ac234d761b
Signed by: erwin
SSH key fingerprint: SHA256:3F6Cm6I3erRqlBwEghZWAQl6eS5WrGTX1Vs/Evec1lQ

View file

@ -21,7 +21,7 @@ def is-i3 [] {
} }
export def ipc-cmd [--raw, ...parameters: string] { export def ipc-cmd [--raw, ...parameters: string] {
let result = (run-external --redirect-stdout (ipcCmd) ...$parameters) let result = (run-external (ipcCmd) ...$parameters)
if $raw { if $raw {
$result $result
} else { } else {