dotfiles/.config/fish/functions/lights.fish

9 lines
159 B
Fish
Raw Normal View History

2021-04-16 18:55:52 +02:00
function lights
set lights (huectl light get | sed '/\"id\"/!d; s/.* \"//; s/\".*//')
for l in $lights
huectl light set $l $argv
end
end