Add i3-dstatus

This commit is contained in:
David Todd 2020-03-25 13:56:12 -05:00
parent 475d454863
commit f9660904b3
3 changed files with 45 additions and 0 deletions

39
i3/i3-dstatus.conf Normal file
View 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%'

View File

@ -29,6 +29,9 @@ command=~/bin/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=pango
[scratchpad]
interval=5
[gpu-load]
interval=15
label=⎚

3
i3/i3blocks/scratchpad Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
i3-dstatus scratchpad