Skip to content

Instantly share code, notes, and snippets.

@ardasener
Created December 1, 2020 15:59
Show Gist options
  • Save ardasener/94c89966cf7999f41afe0de9c93aa11c to your computer and use it in GitHub Desktop.
Save ardasener/94c89966cf7999f41afe0de9c93aa11c to your computer and use it in GitHub Desktop.
i3 Blocks Config
# This file is a modified version of the default endeavouros file.
# i3blocks config file
# 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.
separator=false
markup=pango
[apps]
full_text=Applications:
separator=true
[terminal]
full_text=Terminal 
color=#807dfe
command=xfce4-terminal
separator=true
[browser]
full_text=Browser 
color=#ff7f81
command=firefox
separator=true
[files]
full_text=Files 
color=#7f3fbf
command=thunar ~/
separator=true
#[mail]
#full_text=Mail 
#color=#dbcb75
#command=thunderbird
#separator=true
[bandwidth]
command=~/.config/i3/scripts/bandwidth2
color=#e07221
interval=persist
[net]
label=SSID:
command=echo "$(LANG=C nmcli d | grep connected | awk '{print $4}')"
color=#e07221
interval=5
separator=true
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=
command=~/.config/i3/scripts/memory
color=#96c6f8
interval=30
# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=
instance=/
command=~/.config/i3/scripts/disk
color=#96c6f8
interval=30
[CPU-temperature]
label=
command=~/.config/i3/scripts/temperature
color=#96c6f8
interval=10
[cpu_usage]
label=
interval=10
command=~/.config/i3/scripts/cpu_usage
color=#96c6f8
#min_width=CPU: 100.00%
# Battery indicator
#
# The battery instance defaults to 0.
[battery]
command=~/.config/i3/scripts/battery.sh
label=
#instance=1
interval=30
# Volume indicator
[volume-pulseaudio]
label=Vol:
command=~/.config/i3/scripts/volume
color=#208273
instance=Master
interval=1
[pavucontrol]
full_text=
color=#208273
command=pavucontrol
[keybindings]
full_text=
color=#667c9d
command=xed ~/.config/i3/keybindings
[time]
label=
command=date '+%a %d %b %Y %H:%M:%S'
color=#dbcb75
interval=1
[shutdown_menu]
full_text=
command=~/.config/i3/scripts/shutdown_menu -p rofi -c;
color=#96c6f8
[arda@vostro-eos i3]$ vim i3blocks.conf
[arda@vostro-eos i3]$ cat i3blocks.conf
# This file is a modified version of the default endeavouros file.
# i3blocks config file
# 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.
separator=false
markup=pango
[apps]
full_text=Applications:
separator=true
[terminal]
full_text=Terminal 
color=#807dfe
command=xfce4-terminal
separator=true
[browser]
full_text=Browser 
color=#ff7f81
command=firefox
separator=true
[files]
full_text=Files 
color=#7f3fbf
command=thunar ~/
separator=true
#[mail]
#full_text=Mail 
#color=#dbcb75
#command=thunderbird
#separator=true
[bandwidth]
command=~/.config/i3/scripts/bandwidth2
color=#e07221
interval=persist
[net]
label=SSID:
command=echo "$(LANG=C nmcli d | grep connected | awk '{print $4}')"
color=#e07221
interval=5
separator=true
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=
command=~/.config/i3/scripts/memory
color=#96c6f8
interval=30
# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=
instance=/
command=~/.config/i3/scripts/disk
color=#96c6f8
interval=30
[CPU-temperature]
label=
command=~/.config/i3/scripts/temperature
color=#96c6f8
interval=10
[cpu_usage]
label=
interval=10
command=~/.config/i3/scripts/cpu_usage
color=#96c6f8
#min_width=CPU: 100.00%
# Battery indicator
#
# The battery instance defaults to 0.
[battery]
command=~/.config/i3/scripts/battery.sh
label=
#instance=1
interval=30
# Volume indicator
[volume-pulseaudio]
label=Vol:
command=~/.config/i3/scripts/volume
color=#208273
instance=Master
interval=1
[pavucontrol]
full_text=
color=#208273
command=pavucontrol
[keybindings]
full_text=
color=#667c9d
command=xed ~/.config/i3/keybindings
[time]
label=
command=date '+%a %d %b %Y %H:%M:%S'
color=#dbcb75
interval=1
[shutdown_menu]
full_text=
command=~/.config/i3/scripts/shutdown_menu -p rofi -c;
color=#96c6f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment