add showkeys script
This commit is contained in:
parent
e9ad15ada6
commit
d31a5f0c36
|
@ -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
10
scripts/showkeys
Normal 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
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue