add a vnc passthrough mode to sxhkd

This commit is contained in:
stupidcomputer 2025-01-02 17:53:57 -06:00
parent 3d622628ec
commit 27ce103377
3 changed files with 8 additions and 0 deletions

View File

@ -147,6 +147,7 @@
${pkgs.coreutils}/bin/ln -sf $config_prefix/sxhkd/sxhkdrc /home/usr/.config/sxhkd/sxhkdrc ${pkgs.coreutils}/bin/ln -sf $config_prefix/sxhkd/sxhkdrc /home/usr/.config/sxhkd/sxhkdrc
${pkgs.coreutils}/bin/ln -sf $config_prefix/sxhkd/mouse /home/usr/.config/sxhkd/mouse ${pkgs.coreutils}/bin/ln -sf $config_prefix/sxhkd/mouse /home/usr/.config/sxhkd/mouse
${pkgs.coreutils}/bin/ln -sf $config_prefix/sxhkd/nodemanip /home/usr/.config/sxhkd/nodemanip ${pkgs.coreutils}/bin/ln -sf $config_prefix/sxhkd/nodemanip /home/usr/.config/sxhkd/nodemanip
${pkgs.coreutils}/bin/ln -sf $config_prefix/sxhkd/vnc /home/usr/.config/sxhkd/vnc
mkdir -p /home/usr/.config/todoman mkdir -p /home/usr/.config/todoman
${pkgs.coreutils}/bin/ln -sf $config_prefix/todoman/config.py /home/usr/.config/todoman/config.py ${pkgs.coreutils}/bin/ln -sf $config_prefix/todoman/config.py /home/usr/.config/todoman/config.py

View File

@ -103,6 +103,10 @@ ctrl + b; {t,f,s}
shift + Insert shift + Insert
dmenu-special dmenu-special
# switch to vnc passthrough mode
super + v
sxhkd-mode vnc
# phone specific -- send the escape key since we can't use it # phone specific -- send the escape key since we can't use it
ctrl + b; [ ctrl + b; [
xdotool key Escape xdotool key Escape

3
config/sxhkd/vnc Normal file
View File

@ -0,0 +1,3 @@
# allow us to transmit meta commands over vnc
super + v
sxhkd-mode sxhkdrc