Skip to content

Commit

Permalink
switch to i3blocks!
Browse files Browse the repository at this point in the history
	modified:   i3/config
	new file:   i3/i3blocks.conf
  • Loading branch information
MikereDD committed Jul 22, 2016
1 parent b26bf32 commit 3a5ab1e
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 1 deletion.
4 changes: 3 additions & 1 deletion i3/config
Expand Up @@ -281,13 +281,15 @@ for_window [class="(?i)dwb"] layout tabbed border none
bar {
# output HDMI-0
output DVI-I-1
status_command i3status --config ~/.i3/i3status.conf
status_command i3blocks -c ~/.i3/i3blocks.conf
# status_command i3status --config ~/.i3/i3status.conf
# status_command ~/.i3/scripts/my_i3status.sh | i3status
position top
# mode hide
modifier mod1
workspace_buttons yes
tray_output DVI-I-1
# height 18
font pango: Comfortaa, FontAwesome 9

colors {
Expand Down
116 changes: 116 additions & 0 deletions i3/i3blocks.conf
@@ -0,0 +1,116 @@

# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent

# Global properties
#
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
command=$SCRIPT_DIR/$BLOCK_NAME
separator_block_width=15
markup=none

# Volume indicator
#
# The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection
# See the script for details.

#full_text=
align=center
#separator=false
separator_block_width=8
markup=pango

# Weather
#
[weather]
#label=
#command=sh ~/scripts/test/weather.sh "77506"
command=/usr/lib/i3blocks/weather
interval=60

# Volume
#
[volume]
label=
command=~/.i3/scripts/volume
interval=2
signal=10

# Disk Usage
#
[disk-home]
label=
command=/usr/lib/i3blocks/disk $HOME
instance=/home/typezero
interval=30

# Wifi
#
#[wifi]
#label=
#command=/usr/lib/i3blocks/network
#instance=wlan0
#interval=10

# Ethernet
#
[ethernet]
label=
command=/usr/lib/i3blocks/network
#instance=net0
interval=10

# Bandwidth
#
[bandwidth]
command=/usr/lib/i3blocks/bandwidth
interval=10

# CPU Usage
#
[cpu_usage]
label=☢
command=/usr/lib/i3blocks/cpu
interval=10

# Temp
#
[temp]
label=
command=echo `sensors -A | grep -oP '^Core.+? \+\K\d+' | awk '{k+=$1}END{print k/NR}'` °C
interval=10

# Load
#
[load]
label=
command=/usr/lib/i3blocks/load_average
interval=10
#color=

# Date Time
#
[time]
command=date +'%H:%M:%S'
interval=5

0 comments on commit 3a5ab1e

Please sign in to comment.