Skip to content

Instantly share code, notes, and snippets.

@aabccd021
Created March 19, 2025 00:21
Show Gist options
  • Save aabccd021/0ea13efcaaa61e8b0ac53d03fb657ee1 to your computer and use it in GitHub Desktop.
Save aabccd021/0ea13efcaaa61e8b0ac53d03fb657ee1 to your computer and use it in GitHub Desktop.
sxhkd alsa amixr
{
services.sxhkd.enable = true;
services.sxhkd.keybindings = {
"super + i" = "sh -c 'if [ $(ibus engine) == \"xkb:us::eng\" ]; then ibus engine mozc-jp; else ibus engine xkb:us::eng; fi'";
"super + Print" = "flameshot gui";
"XF86AudioMute" = "${pkgs.alsa-utils}/bin/amixer sset Master toggle";
"XF86AudioRaiseVolume" = "${pkgs.alsa-utils}/bin/amixer sset Master 4%+";
"XF86AudioLowerVolume" = "${pkgs.alsa-utils}/bin/amixer sset Master 4%-";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment