Set up swayosd
This commit is contained in:
parent
d49c196ed6
commit
8b90c71737
|
@ -9,13 +9,8 @@
|
|||
../desktop
|
||||
];
|
||||
|
||||
# TODO: set up
|
||||
# - volume/backlight controls
|
||||
# - look into swaylock or whatever people use
|
||||
|
||||
home.sessionVariables = {
|
||||
NIXOS_OZONES_WL = "1";
|
||||
};
|
||||
home.sessionVariables.NIXOS_OZONES_WL = "1";
|
||||
services.swayosd.enable = true;
|
||||
|
||||
home.packages =
|
||||
let
|
||||
|
|
|
@ -162,4 +162,12 @@ bind=,escape,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
|
||||
# }}}
|
||||
# }}}
|
||||
|
|
Loading…
Reference in a new issue