i3-companion: partially revert layout indicator

Ideally, it should be per output, but then it is a bit complicated to
know which polybar is on which output. While this seems a cool hack to
have, I don't think that's really useful. Keeping some of
the (unrelated) changes.
This commit is contained in:
Vincent Bernat 2021-08-03 16:00:28 +02:00
parent 41705ca492
commit 7264c2ead5
3 changed files with 5 additions and 28 deletions

View file

@ -30,7 +30,7 @@ font-0 = Iosevka Aile:style=Regular:size=10;2
font-1 = Font Awesome 6 Pro:style=Solid:size=10;2
font-2 = Font Awesome 6 Brands:style=Regular:size=10;2
modules-left = i3 i3layout
modules-left = i3
modules-center = date
[bar/alone]
@ -67,12 +67,6 @@ label-urgent = %name%
label-urgent-background = #a00000
label-urgent-padding = 1
[module/i3layout]
type = custom/ipc
hook-0 = cat $XDG_RUNTIME_DIR/i3/i3layout.txt 2> /dev/null
format-foreground = ${colors.focused}
initial = 1
# This needs 3.6+
[module/disk]
type = internal/fs