mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-10 02:04:21 +02:00
polybar: document IPC modules require 3.6+
This commit is contained in:
parent
81d55a79cb
commit
93a0489385
1 changed files with 25 additions and 24 deletions
|
@ -98,30 +98,6 @@ type = internal/memory
|
|||
interval = 5
|
||||
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]
|
||||
type = internal/date
|
||||
interval = 2
|
||||
|
@ -176,3 +152,28 @@ ramp-volume-4 =
|
|||
ramp-volume-5 =
|
||||
ramp-volume-6 =
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue