Set up swayosd
This commit is contained in:
parent
d49c196ed6
commit
8b90c71737
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
# }}}
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in a new issue