generic remote
This commit is contained in:
parent
ec534d53d9
commit
e62bd84328
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue