我的Manjaro i3status配置說明


我的i3status配置說明

i3status配置:~/.config/i3status/config

i3status配置的替換方案可以參考WIKI:https://wiki.archlinux.org/index.php/I3_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)

我自己的配置在原來的配置上改變的不多,主要增加了:顯示網速、顯示溫度、顯示無線網絡信息,去掉了顯示硬盤,改變日期格式等等。

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

# order += "ipv6"
## 顯示cpu溫度
order += "cpu_temperature 0"
order += "cpu_usage"
## 取消顯示硬盤使用情況
#order += "disk /"
# order += "disk /home"
## 無線網絡信息使用默認參數 _first_ 可能無法找到無線信息,這里直接制定我的無線網絡的名稱,可以使用 ip addr查看,相當於ifconfig
#order += "wireless _first_"
order += "wireless wlp3s0"
#order += "ethernet _first_"
# order += "load"
order += "memory"
order += "tztime local"
order += "battery all"

## 定制無線網絡信息
wireless wlp3s0 {
    format_up = " %quality  %essid %ip"
    format_down = "W: down"
}

cpu_usage {
        format = "  %usage "
}

load {
        format = " load %1min "
        # max_threshold = 0.3
}

disk "/" {
        # format = " hdd %avail "
        format = " ⛁ %avail "
}

ethernet _first_ {
# if you use %speed, i3status requires root privileges
        format_up = " lan: %ip %speed "
        format_down = " no lan "
}

battery all {
        # format = "%status %percentage %remaining %emptytime"
        format = " %status %percentage"
        format_down = "No battery"
        last_full_capacity = true
        integer_battery_capacity = true
        # status_chr = ""
        status_chr = "⚡"
        # status_bat = "bat"
        # status_bat = "☉"
        status_bat = ""
        # status_unk = "?"
        status_unk = ""
        # status_full = ""
        status_full = "☻"
        low_threshold = 15
        threshold_type = time
}

memory {
        format = " %used | %available"
        threshold_degraded = "1G"
        format_degraded = "MEMORY < %available"
}

## 日期改成自己喜歡的格式
tztime local {
        # format = "%Y-%m-%d %H:%M:%S"
        format = " %m月-%d日 %H:%M "
}


## 定制溫度控制器
cpu_temperature 0 {
        format = " %degrees °C"
        max_threshold = 85
        path = "/sys/class/thermal/thermal_zone0/temp"
}

我的i3status歸檔

Gitee:https://gitee.com/siyingcheng/my_manjaro_i3wm_config/tree/master/config/i3status


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM