1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | out_to_x no
out_to_console yes
short_units yes
update_interval 1
use_spacer left
pad_percents 2
TEXT
[\
# Pacman updates:
{"full_text":"PACMAN","color":"\#444444","separator":false,"separator_block_width":6},\
{"full_text":"${exec pacman -Qu | wc -l}","color":"\#888888","separator":false,"separator_block_width":6},\
# Uptime:
{"full_text":"UPTIME","color":"\#444444","separator":false,"separator_block_width":6},\
{"full_text":"${uptime_short}","color":"\#888888","separator":false,"separator_block_width":6},\
# CPU temperature and usage:
{"full_text":"CPU","color":"\#444444","separator":false,"separator_block_width":0},\
{"full_text":"${if_match ${hwmon 2 temp 2}<45}${hwmon 2 temp 2}","color":"\#92B37D","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${hwmon 2 temp 2}<50}${hwmon 2 temp 2}","color":"\#CCAE5E","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${hwmon 2 temp 2}<55}${hwmon 2 temp 2}","color":"\#FF9933","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${hwmon 2 temp 2}>=55}${hwmon 2 temp 2}","color":"\#FF3333","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${endif}${endif}${endif}${endif}"},\
{"full_text":"°C","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"","color":"\#888888","separator":false,"separator_block_width":0},\
{"full_text":"${if_match ${cpu cpu1}<25}${cpu cpu1}","color":"\#92B37D","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu1}<50}${cpu cpu1}","color":"\#CCAE5E","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu1}<75}${cpu cpu1}","color":"\#FF9933","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu1}<=100}${cpu cpu1}","color":"\#FF3333","separator":false,"separator_block_width":0},\
{"full_text":"${endif}${endif}${endif}${endif}"},\
{"full_text":"%","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${cpu cpu2}<25}${cpu cpu2}","color":"\#92B37D","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu2}<50}${cpu cpu2}","color":"\#CCAE5E","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu2}<75}${cpu cpu2}","color":"\#FF9933","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu2}<=100}${cpu cpu2}","color":"\#FF3333","separator":false,"separator_block_width":0},\
{"full_text":"${endif}${endif}${endif}${endif}"},\
{"full_text":"%","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${cpu cpu3}<25}${cpu cpu3}","color":"\#92B37D","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu3}<50}${cpu cpu3}","color":"\#CCAE5E","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu3}<75}${cpu cpu3}","color":"\#FF9933","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu3}<=100}${cpu cpu3}","color":"\#FF3333","separator":false,"separator_block_width":0},\
{"full_text":"${endif}${endif}${endif}${endif}"},\
{"full_text":"%","color":"\#888888","separator":false,"separator_block_width":4},\
{"full_text":"${if_match ${cpu cpu4}<25}${cpu cpu4}","color":"\#92B37D","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu4}<50}${cpu cpu4}","color":"\#CCAE5E","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu4}<75}${cpu cpu4}","color":"\#FF9933","separator":false,"separator_block_width":0},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${cpu cpu4}<=100}${cpu cpu4}","color":"\#FF3333","separator":false,"separator_block_width":0},\
{"full_text":"${endif}${endif}${endif}${endif}"},\
{"full_text":"%","color":"\#888888","separator":false,"separator_block_width":6},\
# Memory:
{"full_text":"MEM","color":"\#444444","separator":false,"separator_block_width":3},\
{"full_text":"$mem / $memmax","color":"\#888888","separator":false,"separator_block_width":6},\
# Storage:
{"full_text":"SSD","color":"\#444444","separator":false,"separator_block_width":6},\
{"full_text":"${fs_used /} /${fs_size /}","color":"\#888888","separator":false,"separator_block_width":6},\
{"full_text":"HDD","color":"\#444444","separator":false,"separator_block_width":0},\
{"full_text":"${fs_used /mnt/internal} /${fs_size /mnt/internal}","color":"\#888888","separator":false,"separator_block_width":6},\
# Download:
{"full_text":"DOWN","color":"\#444444","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${downspeedf enp3s0}<100}${downspeed enp3s0}","color":"\#92B37D","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${downspeedf enp3s0}<300}${downspeed enp3s0}","color":"\#CCAE5E","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${downspeedf enp3s0}<700}${downspeed enp3s0}","color":"\#DB70B8","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${downspeedf enp3s0}<1000}${downspeed enp3s0}","color":"\#9470DB","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${downspeedf enp3s0}>=1000}${downspeed enp3s0}","color":"\#FF3333","separator":false,"separator_block_width":6},\
{"full_text":"${endif}${endif}${endif}${endif}${endif}"},\
# Upload:
{"full_text":"UP","color":"\#444444","separator":false,"separator_block_width":6},\
{"full_text":"${if_match ${upspeedf enp3s0}<15}${upspeed enp3s0}","color":"\#92B37D","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${upspeedf enp3s0}<35}${upspeed enp3s0}","color":"\#CCAE5E","separator":false,"separator_block_width":6},\
{"full_text":"${else}"},\
{"full_text":"${if_match ${upspeedf enp3s0}>=35}${upspeed enp3s0}","color":"\#FF3333","separator":false,"separator_block_width":6},\
{"full_text":"${endif}${endif}${endif}"},\
{"full_text":"","color":"\#888888","separator":false,"separator_block_width":6},\
# Date:
{"full_text":"DATE","color":"\#444444","separator":false,"separator_block_width":6},\
{"full_text":"${time %d.%m.%Y}","color":"\#888888","separator":false,"separator_block_width":6},\
# Time:
{"full_text":"|","color":"\#444444","separator":false,"separator_block_width":6},\
{"full_text":"${time %R}","color":"\#888888","separator":false}\
],
|
x