guest@dotshare [~/groups/info/conky] $ ls Conkybar-i3wm/ | cat

Conkybar-i3wm (scrot)

KoO May 03, 2020 (info/conky)

conkybar(raw, dl)

SCROT

  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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
--[[
                               

# Thanks from KoO to almighty

]]

conky.config = {
    out_to_x = false,
    own_window = false,
    own_window_argb_visual = false,
    out_to_console = true,
    background = false,
    max_text_width = 0,
    update_interval = 4.0,
    total_run_times = 0,
    short_units = true,
    if_up_strictness = "address",
    use_spacer = "left",
    override_utf8_locale = false,
    cpu_avg_samples = 2
}

conky.text = [[
  [
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": " ${if_mpd_playing}${mpd_smart 50}  ${mpd_elapsed} / ${mpd_length}${else}${mpd_status}${endif} ",
#      "full_text": "${if_existing /home/koo/.config/quodlibet/current} ${exec quodlibet --print-playing "<artist> ~ <album> * <title>"} ${endif} ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    { 
      "full_text": "  Debian-10 bullseye * ${uptime_short} * ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "  ${cpu cpu1}% ${hwmon 1 temp 1}° | ${cpu cpu2}% ${hwmon 1 temp 2}° | ${cpu cpu3}% ${hwmon 1 temp 3}° | ${cpu cpu4}% ${hwmon 1 temp 4}° ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": " ${mem} / ${memmax} ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "${hwmon 0 temp 1}° / ${hwmon 0 fan 1} rpm ",
#      "full_text": " ${exec nvidia-settings -q [gpu:0]/GPUCurrentClockFreqs -t} MHz ${exec nvidia-settings -q [thermalsensor:0]/ThermalSensorReading -t}° ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": " ${fs_used} / ${fs_size} SDA:${exec hddtemp /dev/sda -n --unit=C}° SDB:${exec hddtemp /dev/sdb -n --unit=C}° SDC:${exec hddtemp /dev/sdc -n --unit=C}° ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": " ${downspeed enp3s0}▼ ▲${upspeed enp3s0}  ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": " ${hwmon 1 fan 1} rpm | ${hwmon 1 fan 2} rpm | ${hwmon 1 fan 3} rpm ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
      "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": " ${time %a, %d/%m/%y}   ${time %I:%M %p} ",
      "color": "\#FFFFFF",
      "background": "\#232323",
      "separator": true,
      "separator_block_width": 0
    },
    {
      "full_text": "|",
      "color": "\#000000",
     "background": "\#4D4D4D",
      "separator": true,
      "separator_block_width": 0
    }
   ],
]]

CLICK TO VIEW

x

conkybar.sh(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#!/bin/sh

# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'

# Begin the endless array.
echo '['

# We send an empty first array of blocks to make the loop simpler:
echo '[],'

# Now send blocks with information forever:
exec conky -c ~/.config/i3/conkybar
 

x

i3_bar_.config_file(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Conkybar
bar {
     status_command ~/.config/i3/conkybar.sh
     i3bar_command i3bar  --transparency
     height 30
     workspace_buttons yes
     font pango:Noto Sans 10
     position top
     tray_output yes
     strip_workspace_numbers no
     binding_mode_indicator yes

colors {
    statusline    #FF0000
    background    #00000000
    separator     #FF0000
#                        BORDER   BACKGROUND  TEXT
    focused_workspace   #000000    #000000   #80FF00
    inactive_workspace  #000000    #000000   #00FFFF
    active_workspace    #000000    #000000   #FFFF00
    urgent_workspace    #b71c1c    #b71c1c   #000000
    binding_mode        #b71c1c    #b71c1c   #000000
 

x

Notes

Conkybar running on Debian-10 with i3wm. conky 1.10.8