Setup i3blocks

This commit is contained in:
Jake Howard 2017-08-13 16:06:49 +01:00
parent d0967309ea
commit bda6da3dae
Signed by: jake
GPG Key ID: 57AFB45680EDD477
4 changed files with 44 additions and 2 deletions

View File

@ -91,5 +91,5 @@ bindsym $mod+r mode "resize"
exec dex -as ~/.config/autostart
bar {
status_command i3status
status_command i3blocks
}

View File

@ -0,0 +1,33 @@
command=/usr/lib/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=none
[cpu_usage]
label=CPU
interval=2
[memory]
label=MEM
separator=false
interval=2
[volume]
label=VOL
instance=Master
interval=1
[iface]
interval=10
separator=false
[wifi]
interval=10
separator=false
[battery]
label=BAT
interval=5
[time]
command=date '+%Y-%m-%d %H:%M:%S'
interval=1

View File

@ -7,4 +7,11 @@ class i3 {
mode => "0644",
source => 'puppet:///modules/i3/i3.conf'
}
file { "i3blocks config":
path => '/home/jake/.i3blocks.conf',
ensure => file,
mode => "0644",
source => 'puppet:///modules/i3/i3blocks.conf'
}
}

View File

@ -1,5 +1,6 @@
class yaourt::packages () {
package {[
'acpi',
'advanced-ssh-config',
'android-sdk',
'arduino',
@ -31,7 +32,7 @@ class yaourt::packages () {
'hexchat',
'hipchat',
'htop',
'i3blocks',
'i3blocks-gaps-git',
'i3lock',
'i3status',
'i3lock-wrapper',
@ -69,6 +70,7 @@ class yaourt::packages () {
'spotify',
'steam',
'sublime-text-dev',
'sysstat',
'terminator',
'thefuck',
'thunderbird',