I3: Difference between revisions

imported>LinArcX
Show i3blocks [BLOCKS] properly.
imported>LinArcX
Add i3blocks [BLOCK] sample after linking /libexec.
Line 60: Line 60:
<nowiki>
<nowiki>
   environment.pathsToLink = [ "/libexec" ];
   environment.pathsToLink = [ "/libexec" ];
</nowiki>
}}
Finally, your block may looks like:
{{file|~/.config/i3/i3blocks.conf|nix|
<nowiki>
[battery]                                                                                                       
label=⚡                                                                                                       
command=/run/current-system/sw/libexec/i3blocks/battery                                                         
interval=10                                                                                                     
instance=1
</nowiki>
</nowiki>
}}
}}