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 exec dex -as ~/.config/autostart
bar { 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", mode => "0644",
source => 'puppet:///modules/i3/i3.conf' 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 () { class yaourt::packages () {
package {[ package {[
'acpi',
'advanced-ssh-config', 'advanced-ssh-config',
'android-sdk', 'android-sdk',
'arduino', 'arduino',
@ -31,7 +32,7 @@ class yaourt::packages () {
'hexchat', 'hexchat',
'hipchat', 'hipchat',
'htop', 'htop',
'i3blocks', 'i3blocks-gaps-git',
'i3lock', 'i3lock',
'i3status', 'i3status',
'i3lock-wrapper', 'i3lock-wrapper',
@ -69,6 +70,7 @@ class yaourt::packages () {
'spotify', 'spotify',
'steam', 'steam',
'sublime-text-dev', 'sublime-text-dev',
'sysstat',
'terminator', 'terminator',
'thefuck', 'thefuck',
'thunderbird', 'thunderbird',