polybar: document IPC modules require 3.6+

This commit is contained in:
Vincent Bernat 2021-08-10 17:00:28 +02:00
parent 81d55a79cb
commit 93a0489385

View file

@ -98,30 +98,6 @@ type = internal/memory
interval = 5 interval = 5
label =  %percentage_used: 2%% label =  %percentage_used: 2%%
[module/network]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/network.txt 2> /dev/null
initial = 1
[module/bluetooth]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/bluetooth.txt 2> /dev/null
initial = 1
[module/weather]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/weather.txt 2> /dev/null
initial = 1
click-left = xdg-open https://www.meteoblue.com/en/weather/week
[module/dunst]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/dunst.txt 2> /dev/null
initial = 1
click-left = dunstctl set-paused toggle
scroll-down = dunstctl close
scroll-up = dunstctl history-pop
[module/date] [module/date]
type = internal/date type = internal/date
interval = 2 interval = 2
@ -176,3 +152,28 @@ ramp-volume-4 = 
ramp-volume-5 =  ramp-volume-5 = 
ramp-volume-6 =  ramp-volume-6 = 
ramp-volume-7 =  ramp-volume-7 = 
# All IPC modules require 3.6+
[module/network]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/network.txt 2> /dev/null
initial = 1
[module/bluetooth]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/bluetooth.txt 2> /dev/null
initial = 1
[module/weather]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/weather.txt 2> /dev/null
initial = 1
click-left = xdg-open https://www.meteoblue.com/en/weather/week
[module/dunst]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/dunst.txt 2> /dev/null
initial = 1
click-left = dunstctl set-paused toggle
scroll-down = dunstctl close
scroll-up = dunstctl history-pop