mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-30 15:55:05 +02:00
i3-companion: add an icon with the layout of the focused container
This commit is contained in:
parent
318cc1e713
commit
41705ca492
3 changed files with 43 additions and 18 deletions
|
@ -4,6 +4,7 @@ background = #c0000000
|
|||
foreground = #eaeaea
|
||||
highlight = #4c7899
|
||||
warning = #ff3121
|
||||
focused = #cc5c00
|
||||
transparent = #00000000
|
||||
|
||||
[settings]
|
||||
|
@ -29,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
|
||||
modules-left = i3 i3layout
|
||||
modules-center = date
|
||||
|
||||
[bar/alone]
|
||||
|
@ -55,7 +56,7 @@ pin-workspaces = true
|
|||
label-mode-background = ${colors.highlight}
|
||||
label-mode-padding = 1
|
||||
label-focused = %name%
|
||||
label-focused-background = #cc5c00
|
||||
label-focused-background = ${colors.focused}
|
||||
label-focused-padding = 1
|
||||
label-unfocused = %name%
|
||||
label-unfocused-padding = 1
|
||||
|
@ -66,6 +67,12 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue