Added a lot of "normal" expected-to-work keybinds

This commit is contained in:
Emmet 2023-08-16 21:33:00 -05:00
parent 2e8a2f9220
commit c5943979fe
2 changed files with 22 additions and 0 deletions

View file

@ -24,6 +24,16 @@
(pkgs.callPackage ../pkgs/ytsub.nix { }) (pkgs.callPackage ../pkgs/ytsub.nix { })
(pkgs.callPackage ../pkgs/russ.nix { }) (pkgs.callPackage ../pkgs/russ.nix { })
(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { }) (pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
(pkgs.writeShellScriptBin "airplane-mode" ''
#!/bin/sh
connectivity="$(nmcli n connectivity)"
if [ "$connectivity" == "full" ]
then
nmcli n off
else
nmcli n on
fi
'')
]; ];
imports = [ imports = [

View file

@ -50,6 +50,18 @@
bind=SHIFTCTRL,code:107,exec,grim -g "$(slurp -o)" - | wl-copy bind=SHIFTCTRL,code:107,exec,grim -g "$(slurp -o)" - | wl-copy
bind=SUPERCTRL,code:107,exec,grim - | wl-copy bind=SUPERCTRL,code:107,exec,grim - | wl-copy
bind=,code:122,exec,pamixer -d 10
bind=,code:123,exec,pamixer -i 10
bind=,code:121,exec,pamixer -t
bind=,code:256,exec,pamixer --default-source -t
bind=SHIFT,code:122,exec,pamixer --default-source -d 10
bind=SHIFT,code:123,exec,pamixer --default-source -i 10
bind=,code:232,exec,brightnessctl set 15-
bind=,code:233,exec,brightnessctl set +15
bind=,code:237,exec,brightnessctl --device='asus::kbd_backlight' set 1-
bind=,code:238,exec,brightnessctl --device='asus::kbd_backlight' set +1
bind=,code:255,exec,airplane-mode
bind=SUPER,H,movefocus,l bind=SUPER,H,movefocus,l
bind=SUPER,J,movefocus,d bind=SUPER,J,movefocus,d
bind=SUPER,K,movefocus,u bind=SUPER,K,movefocus,u