Replies: 1 comment
-
I checked and it looks like it is possible to achieve this by using the IPC patch and subscribing to $ dwm-msg subscribe monitor_focus_change_event
{"result":"success"}
{
"monitor_focus_change_event": {
"old_monitor_number": 0,
"new_monitor_number": 1
}
}
{
"monitor_focus_change_event": {
"old_monitor_number": 1,
"new_monitor_number": 0
}
}
{
"monitor_focus_change_event": {
"old_monitor_number": 0,
"new_monitor_number": 1
}
}
{
"monitor_focus_change_event": {
"old_monitor_number": 1,
"new_monitor_number": 0
}
} It would be possible to have this drive the script that sends the notifications. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want an explicit notification (e.g. notify-send) when the focused monitor changes. I tried to add an extra SHCMD associated with the
focusmon
function so it works when I manually switch the monitor, but it doesn't work when_NET_ACTIVE_WINDOW
changes the monitor.Is there any means to achieve that?
Beta Was this translation helpful? Give feedback.
All reactions