Created
March 19, 2025 00:21
-
-
Save aabccd021/0ea13efcaaa61e8b0ac53d03fb657ee1 to your computer and use it in GitHub Desktop.
sxhkd alsa amixr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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