#Niri 25.08 comes with a new `spawn-sh` command. I’m using it to handle the monitor brightness on a log scale (way more useful than a linear one, especially by night):

XF86MonBrightnessUp {
spawn-sh "brightnessctl s $(($(brightnessctl g) * 2))";
}
XF86MonBrightnessDown {
spawn-sh "brightnessctl s $((($(brightnessctl g) + 1) / 2))";
}

(Look, ’Ma ! No temp files !)

https://github.com/YaLTeR/niri/releases/tag/v25.08

#tilingWM #UnixPorn #brightnessctl

Release v25.08 · YaLTeR/niri

Niri is a scrollable-tiling Wayland compositor. Windows are arranged in columns on an infinite strip going to the right. Opening a new window never causes existing windows to resize. A month ago, o...

GitHub
After months exclusively using the #OpenSource #Wayland #Sway #WindowManager, I'm finding that I would be grateful if there was a way to do the following with #mouse. Increase the #MouseCursor size, #LockScreen with mouse, open #Calendar with mouse, reboot or shutdown with mouse, adjust screen #brightnessctl and #wlsunset with mouse, open #BluetoothManager with mouse, open wifi and network settings with mouse, #AppLauncher with mouse. I'm uncertain of how to approach some of these on #SwayWM