dotfiles/fish/functions/lights.fish
2021-04-16 18:55:52 +02:00

8 lines
159 B
Fish

function lights
set lights (huectl light get | sed '/\"id\"/!d; s/.* \"//; s/\".*//')
for l in $lights
huectl light set $l $argv
end
end