From 3b6ea482ba731ff8a3aa54cc33ff9c162544ccba Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 22 Dec 2017 22:57:37 +0000 Subject: [PATCH 1/3] polybar/modules.conf: support long-running jgmenu Support jgmenu v0.7.6 which has dropped 'jgmenu_run lx' syntax --- home/.config/polybar/modules.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/polybar/modules.conf b/home/.config/polybar/modules.conf index 2fe25ec7..b13932f3 100644 --- a/home/.config/polybar/modules.conf +++ b/home/.config/polybar/modules.conf @@ -11,7 +11,7 @@ label = %output% label-padding = 2 interval = 10 exec = echo "" -click-left = jgmenu_run lx +click-left = "jgmenu_run >/dev/null 2>&1 &" click-right = exo-open $HOME/.config/jgmenu/jgmenurc From bf0952111d586d6997ba6c19fd7138176e07f382 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 22 Dec 2017 22:59:36 +0000 Subject: [PATCH 2/3] jgmenurc: make long-running and set csv_cmd=lx --- home/.config/jgmenu/jgmenurc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/.config/jgmenu/jgmenurc b/home/.config/jgmenu/jgmenurc index 557b0b45..ccd71fdb 100644 --- a/home/.config/jgmenu/jgmenurc +++ b/home/.config/jgmenu/jgmenurc @@ -1,9 +1,10 @@ # jgmenurc at_pointer = 0 -stay_alive = 0 +stay_alive = 1 multi_window = 1 tint2_look = 1 +csv_cmd = lx menu_halign = left menu_valign = top From f68048800e5400ba9cb3cee2403596a4184b8b9f Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Fri, 22 Dec 2017 23:01:09 +0000 Subject: [PATCH 3/3] polybar/config: add jgmenu to i3-bar --- home/.config/polybar/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/polybar/config b/home/.config/polybar/config index 7ea20bdb..409e477d 100755 --- a/home/.config/polybar/config +++ b/home/.config/polybar/config @@ -44,7 +44,7 @@ inherit = bar/master ; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1 monitor = -modules-left = config i3 menu +modules-left = jgmenu config i3 menu modules-center = clock modules-right = pkg memory temperature coreuse network volume