Compare commits
No commits in common. "9051da11993e4ac032c79fa30d2f3779332cfb0f" and "cd5c427e38c7c1cb3d847173f14cdb03fa340d67" have entirely different histories.
9051da1199
...
cd5c427e38
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
bspc subscribe node_focus desktop_focus | while read -a msg ; do
|
||||
_output="$(show-windows)"
|
||||
clear
|
||||
echo "$_output"
|
||||
done
|
|
@ -1,6 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
_focused_node_id="$(bspc query -N -n .focused)"
|
||||
bspc query -D -d .occupied | while read _desktop_id ; do
|
||||
_desktop_name="$(bspc query -D -d $_desktop_id --names):"
|
||||
|
||||
|
@ -8,13 +7,8 @@ bspc query -D -d .occupied | while read _desktop_id ; do
|
|||
_node_id="$(bspc query -N -n $_node_id)"
|
||||
_title="$(xtitle $_node_id)"
|
||||
_wm_class="$(xprop -id $_node_id | grep WM_CLASS | cut -d\" -f2)"
|
||||
printf "%-6s %-15s " "$_desktop_name" "$_wm_class"
|
||||
if [ "$_focused_node_id" = "$_node_id" ] ; then
|
||||
printf "\033[0;31m"
|
||||
fi
|
||||
printf "%.55s\033[0m\n" "$_title"
|
||||
printf "%-6s %-15s %.55s\n" "$_desktop_name" "$_wm_class" "$_title"
|
||||
_desktop_name=''
|
||||
done
|
||||
echo ""
|
||||
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue