Skip to content

Commit

Permalink
shellevents: support activewindowv2 event
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva authored and fufexan committed Nov 5, 2023
1 parent bfd3e0e commit 5bfe300
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions shellevents/shellevents
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ while true; do
"workspace") WORKSPACENAME="$1" event_workspace ;;
"focusedmon") MONNAME="$1" WORKSPACENAME="$2" event_focusedmon ;;
"activewindow") WINDOWCLASS="$1" WINDOWTITLE="$2" event_activewindow ;;
"activewindowv2") WINDOWADDRESS="$1" event_activewindowv2 ;;
"fullscreen") ENTER="$1" event_fullscreen ;;
"monitorremoved") MONITORNAME="$1" event_monitorremoved ;;
"monitoradded") MONITORNAME="$1" event_monitoradded ;;
Expand Down
4 changes: 4 additions & 0 deletions shellevents/shellevents_default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ event_activewindow() {
: # WINDOWCLASS WINDOWTITLE
}

event_activewindowv2() {
: # WINDOWADDRESS
}

event_fullscreen() {
: # ENTER (0 if leaving fullscreen, 1 if entering)
}
Expand Down

0 comments on commit 5bfe300

Please sign in to comment.