I have this command:
bindsym $mod+q split toggle
This will toggle between hsplit and vsplit. My individual vsplit and hsplit (activated using $mod+v and $mod+h respectively) are:
bindsym $mod+h split h; exec notify-send 'tile horizontally'
bindsym $mod+v split v; exec notify-send 'tile vertically'
As you can see, these individual splits have a notify-send
that pop up to tell me which split orientation is being used.
How do I add that to the split toggle
command above?
I tried:
bindsym $mod+q split toggle; exec notify-send 'vertical'; exec notify-send 'horizontal'
This doesnt seem to work. The split toggle
command on its own does highlight the side of the window that it's being split, i.e. vertical split has right side of the window being highlighted, while horizontal split has the bottom side of the being highlighted.
However, I would like some better visual feedbacks, hence I want to get this notify-send
to work.