Add i3-dstatus
This commit is contained in:
parent
475d454863
commit
f9660904b3
39
i3/i3-dstatus.conf
Normal file
39
i3/i3-dstatus.conf
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# vim: filetype=yaml
|
||||||
|
# This is an example configuration file for i3-dstatus.
|
||||||
|
#
|
||||||
|
# Make sure you are using a pango font by putting `pango:` before your i3 font
|
||||||
|
# string to use the markup features
|
||||||
|
---
|
||||||
|
general:
|
||||||
|
generators: [ focused-window, scratchpad, playerctl, clipboard, netifaces, disk, battery, clock ]
|
||||||
|
separator-block-width: 25
|
||||||
|
clock:
|
||||||
|
format: '%h %d <b>%H:%M</b>'
|
||||||
|
disk:
|
||||||
|
'/':
|
||||||
|
prefix: 'custom'
|
||||||
|
format: '%free'
|
||||||
|
clipboard:
|
||||||
|
format: '<span size="small" font="FontAwesome"></span> %text'
|
||||||
|
focused-window:
|
||||||
|
truncate-length: 100
|
||||||
|
netifaces:
|
||||||
|
enp3s0:
|
||||||
|
format-up: '%iface: %ip'
|
||||||
|
format-down: '%iface: <b>down</b>'
|
||||||
|
scratchpad:
|
||||||
|
format: 'scratchpad: <b>%classes</b>'
|
||||||
|
playerctl:
|
||||||
|
format: '{{artist}} - {{title}}'
|
||||||
|
check-http:
|
||||||
|
sites: [ 'http://i3wm.org' ]
|
||||||
|
interval: 600
|
||||||
|
format-up: ''
|
||||||
|
format-down: '<span color="red">%site is down (status: %status, %reason)</span>'
|
||||||
|
github-repos:
|
||||||
|
users: [ altdesktop ]
|
||||||
|
interval: 600
|
||||||
|
format: '<span color="yellow">★</span>%stars <small>?</small>%issues'
|
||||||
|
battery:
|
||||||
|
name: 'BAT0' # defaults to the first battery found
|
||||||
|
format: '%name %percentage%'
|
@ -29,6 +29,9 @@ command=~/bin/i3blocks/$BLOCK_NAME
|
|||||||
separator_block_width=15
|
separator_block_width=15
|
||||||
markup=pango
|
markup=pango
|
||||||
|
|
||||||
|
[scratchpad]
|
||||||
|
interval=5
|
||||||
|
|
||||||
[gpu-load]
|
[gpu-load]
|
||||||
interval=15
|
interval=15
|
||||||
label=⎚
|
label=⎚
|
||||||
|
3
i3/i3blocks/scratchpad
Executable file
3
i3/i3blocks/scratchpad
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
i3-dstatus scratchpad
|
Loading…
Reference in New Issue
Block a user