Kamis, 10 Agustus 2017

Contoh konfigurasi i3status.conf untuk i3bar di i3-wm

Diposting oleh Opoel34 on Kamis, Agustus 10, 2017
i3status.conf adalah file konfigurasi untuk mengatur informasi yang ditampilkan di i3bar Window Manager Linux i3. Berikut ini merupakan isi i3status.conf milik saya, jika ada yang ingin mencontek, saya persilakan. Tampilan i3bar nanti seperti gambar berikut:
Ini isi /etc/i3status.conf :

# i3status configuration file.
# see "man i3status" for documentation.

# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!

general {
        colors = true
        interval = 5
        color_good = "#2AA198"
        #color_bad = "#586E75"
        color_degraded = "#DC322F"
}

order += "wireless _first_"
order += "ethernet _first_"
# order += "ipv6"
order += "disk /"
order += "disk /home"
# order += "run_watch DHCP"
# order += "run_watch VPN"
# order += "load"
order += "cpu_usage"
order += "battery 0"
order += "tztime local"

cpu_usage {
        format = " CPU %usage "
}

wireless _first_ {
        format_up = " Wifi: (%quality at %essid) %ip "
        format_down = " No Wifi "
}

ethernet _first_ {
        # if you use %speed, i3status requires root privileges
        #format_up = "E: %ip (%speed)"
        #format_down = "E: down"
        format_up = " Lan: %ip %speed "
        format_down = " No lan "
}

battery 0 {
        #format = "%status %percentage %remaining"
        format = " %status %percentage %remaining %emptytime "
        format_down = " No battery "
        last_full_capacity = true
        integer_battery_capacity = true
        status_chr = "⚡"
        status_bat = "Bat"
        #status_full = "☻"
        status_full = "Bat"
        low_threshold = 15
        threshold_type = time
}

run_watch DHCP {
        pidfile = " /var/run/dhclient*.pid "
}

run_watch VPN {
        pidfile = " /var/run/vpnc/pid "
}

tztime local {
        #format = " %Y-%m-%d %H:%M:%S"
        format = " %a %d-%m-%Y %H:%M:%S"
}

load {
        format = " %1min "
}

disk "/" {
        # format = "%avail"
        #format = " ⛁ %avail "
        format = " /: %avail of %total "
}

disk "/home" {
        # format = "%avail"
        #format = " ⛁ %avail "
        format = " /home: %avail of %total "
}
Credit diberikan kepada: i3wm.org atas window manager nya yang sangat keren.

Semoga artikel ini bermanfaat positif bagi kita semua, mohon maaf bila ada yang kurang / salah kata. Feedback positif nya kita tunggu. Alhamdulillah & Wassalamu'alaikum.

Keywords: linux, i3-wm, tiling window manager, i3status.conf, i3bar, contoh, konfigurasi.

0 komentar:

Posting Komentar

NO ANONYMOUS ACCOUNT.

 
© 2010 Tahu7-isi Template by My Blogger Tricks