add showkeys script

This commit is contained in:
lelgenio 2022-11-14 15:27:25 -03:00
parent e9ad15ada6
commit d31a5f0c36
4 changed files with 14 additions and 0 deletions

View file

@ -24,6 +24,7 @@
_diffr = [ diffr ]; _diffr = [ diffr ];
kak-pager = [ fish final._diffr ]; kak-pager = [ fish final._diffr ];
kak-man-pager = [ final.kak-pager ]; kak-man-pager = [ final.kak-pager ];
showkeys = [ ]; # This will not work unless programs.wshowkeys is enabled systemwide
terminal = [ alacritty ]; terminal = [ alacritty ];
wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ]; wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ];
screenshotsh = screenshotsh =

10
scripts/showkeys Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh
pidof wshowkeys && pkill wshowkeys ||
exec wshowkeys \
-a bottom -a right \
-F 'Inter 20' \
-b 202020AA \
-s DD5050 \
-t 1 \
-m 100

View file

@ -9,6 +9,7 @@
wrapperFeatures.gtk = true; wrapperFeatures.gtk = true;
}; };
services.dbus.enable = true; services.dbus.enable = true;
programs.wshowkeys.enable = true;
xdg.portal = { xdg.portal = {
enable = true; enable = true;
wlr.enable = true; wlr.enable = true;

View file

@ -265,6 +265,7 @@ in {
"${mod}+Ctrl+Return" = "exec thunar"; "${mod}+Ctrl+Return" = "exec thunar";
"${mod}+Shift+s" = "exec grim - | swappy -f -"; "${mod}+Shift+s" = "exec grim - | swappy -f -";
"${mod}+Ctrl+v" = "exec wl-paste | tesseract -l por - - | wl-copy"; "${mod}+Ctrl+v" = "exec wl-paste | tesseract -l por - - | wl-copy";
"${mod}+k" = "exec showkeys";
"${mod}+x" = "kill"; "${mod}+x" = "kill";
"${mod}+m" = "mode audio"; "${mod}+m" = "mode audio";
"${mod}+escape" = "${mod}+escape" =
@ -409,6 +410,7 @@ in {
wdmenu wdmenu
wlauncher wlauncher
volumesh volumesh
showkeys
pamixer pamixer
libnotify libnotify
xdg-utils xdg-utils