generic remote

This commit is contained in:
cy 2024-12-03 19:05:18 -05:00
parent ec534d53d9
commit e62bd84328
2 changed files with 8 additions and 2 deletions

View file

@ -199,8 +199,8 @@ bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 1%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 1%-
# anki remote
$remote = ~/.dotfiles/hypr/scripts/anki-remote.sh
# remote
$remote = ~/.dotfiles/hypr/scripts/remote.sh
bind = , mouse:276, exec, $remote "space"
bind = , mouse:275, exec, $remote

View file

@ -8,4 +8,10 @@ if [ "$active_window" = "anki" ]; then
else
wtype "1"
fi
else
if [ "$1" = "space" ]; then
wtype -M ctrl -k c
else
wtype -M ctrl -k v
fi
fi