zoukankan      html  css  js  c++  java
  • 我的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

  • 相关阅读:
    常用数据结构之哈希表
    常用数据结构之队列
    常用的数据结构之栈
    常用的数据结构之链表
    Zabbix3.4监控Windows机器CPU使用率
    在Pycharm中导入第三方模块库(诸如:matplotlib、numpy等)
    WARNING: You are using pip version 20.2.4; however, version 20.3.1 is available.
    npm无法安装node-sass的解决方法
    常见的树形结构封装
    Mac安装MySql
  • 原文地址:https://www.cnblogs.com/siyingcheng/p/11706201.html
Copyright © 2011-2022 走看看