You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -152,6 +152,7 @@ bindsym XF86AudioNext exec swayosd-client --playerctl next
152
152
153
153
- By default, without using --monitor the osd will be shown on all monitors
154
154
- On setups with multiple monitors, if you only want to show the osd on the focused monitor, you can do so with the help of window manager specific commands:
Since SwayOSD uses GTK, its appearance can be changed. Initially scss is used, which GTK does not support, so we need to use plain css.
166
+
Since SwayOSD uses GTK, its appearance can be changed. Initially scss is used, which GTK does not support, so we need to use plain css.
166
167
The style conifg file is in `~/.config/swayosd/style.css` (it is not automatically generated). For reference you can check [this](https://github.com/ErikReider/SwayOSD/blob/main/data/style/style.scss) and [this](https://github.com/ErikReider/SwayOSD/issues/36).
167
168
168
169
## Brightness Control
169
170
170
171
Some devices may not have permission to write `/sys/class/backlight/*/brightness`.
171
172
So using the provided packaged `udev` rules + adding the user to `video` group
172
173
by running `sudo usermod -a -G video $USER`, everything should work as expected.
174
+
175
+
### Development
176
+
177
+
#### Setup and build
178
+
179
+
```sh
180
+
meson setup build
181
+
meson compile -C build
182
+
```
183
+
184
+
#### Set the environment
185
+
186
+
```sh
187
+
# Sets the correct environment variables
188
+
meson devenv -C build -w .
189
+
# Now you can start nvim, vscode, etc in the current shell to reduce duplicated builds
0 commit comments