1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 22:07:59 +00:00

[polybar] Show main overview when click 'Tasks'

This commit is contained in:
Daniel Carrillo 2020-08-01 17:10:15 +02:00
parent 716106c528
commit a17b9de70a

View File

@ -40,8 +40,9 @@ cat <<TASKLABEL_TEMPLATE
type = custom/ipc type = custom/ipc
hook-0 = echo "%{T4}Tasks:%{T-}" hook-0 = echo "%{T4}Tasks:%{T-}"
hook-1 = echo "" hook-1 = echo ""
click-left = rofi -modi window -show window -theme $ROFI_THEME -show-icons -location 1 -yoffset +45 -xoffset +20 ; click-left = rofi -modi window -show window -theme $ROFI_THEME -show-icons -location 1 -yoffset +45 -xoffset +20
click-left = dbus-send --session --type=method_call \
--dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'Main.overview.show();'
TASKLABEL_TEMPLATE TASKLABEL_TEMPLATE
} }