diff options
| author | Zach DeCook <zachdecook@librem.one> | 2024-10-16 23:09:02 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2024-10-16 23:10:35 -0400 |
| commit | 3b002ca77a3f9964b87ce84852a4d77a057a5606 (patch) | |
| tree | 106808d0c2eff8e294381a3fdfe0fcfc57f9de78 /pos-dyntercomms.sh | |
| parent | e952212af373e46df9e1372bdfcaf397a8441352 (diff) | |
| download | pos-dyntercomms-3b002ca77a3f9964b87ce84852a4d77a057a5606.tar.gz | |
Write Documentation zachster
Diffstat (limited to 'pos-dyntercomms.sh')
| -rwxr-xr-x | pos-dyntercomms.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pos-dyntercomms.sh b/pos-dyntercomms.sh index 22e4a43..e9de0a3 100755 --- a/pos-dyntercomms.sh +++ b/pos-dyntercomms.sh @@ -8,7 +8,7 @@ setComms(){ activewmclass="$1" activetitle="$2" if ! test "$activewmclass"; then - json="$(hyprctl -j -i 0 activewindow)" + json="$(hyprctl -j activewindow)" activewmclass="$(printf "%s" "$json" | jq -r .class)" activetitle="$(printf "%s" "$json" | jq -r .title)" fi @@ -137,7 +137,7 @@ case "$activewmclass" in ;; *micro*) #Micro - c="'Prior','Next','<alt>Comma','<alt>Period','<ctrl>s','<ctrl>q','<ctrl>f','<ctrl>p','<ctrl>n','<ctrl>e','<ctrl>c','<ctrl>v','<ctrl>z','<ctrl>y'" + c="'Prior','Next','<alt>comma','<alt>period','<ctrl>s','<ctrl>q','<ctrl>f','<ctrl>p','<ctrl>n','<ctrl>e','<ctrl>c','<ctrl>v','<ctrl>z','<ctrl>y'" CHOICES=" $icon_prv Previous Tab ^ 1 ^ sxmo_type -M Alt , -m Alt $icon_nxt Next Tab ^ 1 ^ sxmo_type -M Alt . -m Alt @@ -514,6 +514,9 @@ case "$activewmclass" in c="'<ctrl>equal','<ctrl>minus','<ctrl><shift>F','<ctrl>f','<ctrl>r','<ctrl>d','<ctrl>l'" WINNAME=Maps ;; + org.gnome.Loupe) + c="'Left','Right'" + ;; *mepo*) # Mepo # The choices / hotkeys for the contextmenu are generated through mepo's |
