anki remote and wallpaper
This commit is contained in:
parent
75ab33c639
commit
86efe3c022
3 changed files with 21 additions and 1 deletions
11
hypr/scripts/anki-remote.sh
Executable file
11
hypr/scripts/anki-remote.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
active_window=$(hyprctl activewindow -j | jq -r ".class")
|
||||
|
||||
if [ "$active_window" = "anki" ]; then
|
||||
if [ "$1" = "space" ]; then
|
||||
wtype " "
|
||||
else
|
||||
wtype "1"
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue