1
Fork 0

Set up swayosd

This commit is contained in:
prescientmoon 2024-02-29 11:49:36 +01:00
parent d49c196ed6
commit 8b90c71737
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 10 additions and 7 deletions

View file

@ -9,13 +9,8 @@
../desktop ../desktop
]; ];
# TODO: set up home.sessionVariables.NIXOS_OZONES_WL = "1";
# - volume/backlight controls services.swayosd.enable = true;
# - look into swaylock or whatever people use
home.sessionVariables = {
NIXOS_OZONES_WL = "1";
};
home.packages = home.packages =
let let

View file

@ -162,4 +162,12 @@ bind=,escape,submap,reset
submap=reset submap=reset
# }}} # }}}
# {{{ Volume & brightness
binde=, XF86AudioRaiseVolume, exec, swayosd --output-volume raise
binde=, XF86AudioLowerVolume, exec, swayosd --output-volume lower
binde=, XF86AudioMute, exec, swayosd --output-volume mute-toggle
binde=, XF86AudioMicMute, exec, swayosd --input-volume mute-toggle
binde=, XF86MonBrightnessUp, exec, swayosd --brightness raise
binde=, XF86MonBrightnessDown, exec, swayosd --brightness lower
# }}}
# }}} # }}}