Fix double tail command in polybar module, fix icons

This commit is contained in:
natemaia 2017-12-08 05:28:43 -08:00
parent 48ce00ab51
commit 8a11bf9edd

View File

@ -8,9 +8,9 @@
[module/jgmenu] [module/jgmenu]
type = custom/script type = custom/script
label = %output% label = %output%
label-padding = 1 label-padding = 2
interval = 10 interval = 10
exec = echo "Menu" exec = echo ""
click-left = jgmenu_run lx click-left = jgmenu_run lx
click-right = exo-open $HOME/.config/jgmenu/jgmenurc click-right = exo-open $HOME/.config/jgmenu/jgmenurc
@ -26,7 +26,7 @@ format-padding = 1
format = <label> format = <label>
click-right = termite "--exec=gorice edit i3/current" & click-right = termite "--exec=gorice edit i3/current" &
click-left = gorice dump i3 ~/.gorice/output.yaml.template; config_ui & click-left = gorice dump i3 ~/.gorice/output.yaml.template; config_ui &
exec = echo "" exec = echo ""
;exec = grep "current" data.json | cut -d '"' -f22 | cut -d . -f1 | cut -d / -f2 | tr '[:lower:]' '[:upper:]' ;exec = grep "current" data.json | cut -d '"' -f22 | cut -d . -f1 | cut -d / -f2 | tr '[:lower:]' '[:upper:]'
@ -55,16 +55,16 @@ label-active = %icon% %name%
label-occupied = %icon% %name% label-occupied = %icon% %name%
label-urgent = %icon% %name% label-urgent = %icon% %name%
label-empty = %icon% %name% label-empty = %icon% %name%
label-occupied-padding = 1 label-occupied-padding = 1
label-empty-padding = 1 label-empty-padding = 1
label-urgent-padding = 1 label-urgent-padding = 1
label-active-padding = 1 label-active-padding = 1
label-active-foreground = ${colors.blue} label-active-foreground = ${colors.blue}
label-active-underline = ${colors.blue} label-active-underline = ${colors.blue}
label-occupied-underline = ${colors.blue} label-occupied-underline = ${colors.blue}
label-urgent-foreground = ${colors.urgent} label-urgent-foreground = ${colors.urgent}
label-urgent-underline = ${colors.urgent} label-urgent-underline = ${colors.urgent}
label-empty-foreground = ${colors.foreground} label-empty-foreground = ${colors.foreground}
;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;
@ -209,19 +209,19 @@ ramp-coreload-5-foreground = ${colors.urgent}
;; MEM ;; ;; MEM ;;
;;;;;;;;; ;;;;;;;;;
[module/memory] [module/memory]
type = internal/memory type = internal/memory
interval = 3 interval = 3
format = <label> format = <label>
label-padding = 1 label-padding = 1
label = %{A1:termite --exec=htop & disown:} %percentage_used%%%{A} label = %{A1:termite --exec=htop & disown:} %percentage_used%%%{A}
;;;;;;;;; ;;;;;;;;;
;; PKG ;; ;; PKG ;;
;;;;;;;;; ;;;;;;;;;
[module/pkg] [module/pkg]
type = custom/script type = custom/script
exec = check-updates exec = check-updates
exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null" exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
label = %{A1:termite --exec=pacli & disown:} %{A3:termite --exec=pacli & disown:}%output%%{A} %{A} label = %{A1:termite --exec=pacli & disown:} %{A3:termite --exec=pacli & disown:}%output%%{A} %{A}
tail = true tail = true
@ -422,7 +422,6 @@ type = custom/script
tail = true tail = true
exec = toggle-redshift exec = toggle-redshift
label = %output% label = %output%
tail = true
click-left = toggle-redshift --toggle click-left = toggle-redshift --toggle