nix-config/modules/sxhkd/keybindings.nix

22 lines
884 B
Nix
Raw Normal View History

2025-07-27 22:13:55 +01:00
{ lib, ... }:
2025-05-25 15:11:33 +01:00
{
2025-07-27 22:13:55 +01:00
flake.modules.homeManager.gui =
{ pkgs, ... }:
{
services.sxhkd.keybindings = {
2025-07-10 22:55:59 +01:00
"{_, shift +, super +}XF86MonBrightness{Down,Up}" =
2025-07-27 22:13:55 +01:00
"${lib.getExe pkgs.brightnessctl} set {5%-,10%-,10%,+5%,+10%,100%} --quiet";
2025-07-09 00:23:48 +01:00
"super + BackSpace" = "/home/opdavies/sysact";
2025-05-29 17:00:38 +01:00
"super + shift + b" = "/etc/profiles/per-user/opdavies/bin/bookmarkthis";
2025-07-10 22:55:59 +01:00
"super + shift + i" =
"${pkgs.xdotool}/bin/xdotool type $(cat ~/.local/share/snippets.txt | grep -v '^#' | grep -v '^$' | sort | dmenu -i -l 50 | cut -d' ' -f1)";
2025-07-27 22:13:55 +01:00
"super + shift + p" = "${lib.getExe pkgs.passmenu-otp} -i";
2025-07-09 00:23:48 +01:00
"super + x; {1, 2, 3, 4}" = "st {notes, newsboat, nmtui, bluetuith}";
2025-08-19 20:56:05 +01:00
"@F3" = "displayselect";
2025-05-29 17:00:38 +01:00
"@F9" = "/home/opdavies/.local/bin/mounter";
"@F10" = "/home/opdavies/.local/bin/unmounter";
2025-05-25 15:11:33 +01:00
};
};
}