u/Beautiful-Log5632

▲ 2 r/swaywm

i3status volume in status bar

I am using i3status with default sway status bar but when I change the default speakers with wpctl set-default ID sometimes it shows the right value but sometimes it doesn't.

sway config

bar {
    status_command i3status
}

i3status config

order += "volume master"
volume master {
    device = "default"
    format = "%volume"
}

Can I make it show the right values or is there something simple like i3status I can use that works better with sway and wpctl?

reddit.com
u/Beautiful-Log5632 — 8 days ago

Watch files with systemd

I want to run a script when any file under a dir changes. Is there a way to do that in systemd or do I have to use itnotifywait or inotifywatch? How do you know which of them you should use?

How can I use systemd to make sure the inotify process runs all the time so I don't have to remember to start it?

reddit.com
u/Beautiful-Log5632 — 1 month ago

get_url downloads again

force: false is the default for get_url but I notice from network activity that it is downloading the file again. It happens on different files and with or without checksum property and I noticed it happening for a long time it's not a new problem.

I thought if dest exists it won't try to download the file?

reddit.com
u/Beautiful-Log5632 — 2 months ago