Skip to content

Commit

Permalink
Added "Theming" section (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
shvedes authored Nov 28, 2024
1 parent 3ccc06a commit 47ef782
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ bindsym XF86MonBrightnessDown exec swayosd-client --brightness -10
- It only changes the target device for the current action that changes the volume.
- You can list your input audio devices using `pactl list short sources`, for outputs replace `sources` with `sinks`.

## Theming

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.
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).

## Brightness Control

Some devices may not have permission to write `/sys/class/backlight/*/brightness`.
Expand Down

0 comments on commit 47ef782

Please sign in to comment.