summaryrefslogtreecommitdiffstats
path: root/conkyrc
diff options
context:
space:
mode:
Diffstat (limited to 'conkyrc')
-rw-r--r--conkyrc125
1 files changed, 74 insertions, 51 deletions
diff --git a/conkyrc b/conkyrc
index 133dbf4..5414f11 100644
--- a/conkyrc
+++ b/conkyrc
@@ -1,54 +1,77 @@
conky.config = {
- alignment = 'top_left',
- background = false,
- border_width = 1,
- cpu_avg_samples = 2,
- default_color = 'white',
- default_outline_color = 'white',
- default_shade_color = 'white',
- draw_borders = false,
- draw_graph_borders = true,
- draw_outline = false,
- draw_shades = false,
- use_xft = true,
- font = 'DejaVu Sans Mono:size=12',
- gap_x = 5,
- gap_y = 60,
- minimum_height = 5,
- minimum_width = 5,
- net_avg_samples = 2,
- no_buffers = true,
- extra_newline = false,
- own_window = true,
- own_window_class = 'Conky',
- own_window_type = 'desktop',
- stippled_borders = 0,
- update_interval = 1.0,
- uppercase = false,
- show_graph_scale = false,
- show_graph_range = false,
- out_to_x = false,
- out_to_console = true,
- out_to_stderr = false,
- pad_percents = 2,
- use_spacer = 'left',
- short_units = true,
- console_graph_ticks = ' ,▁,▂,▃,▄,▅,▆,▇,█',
- update_interval = 2
-}
+ -- conkyrc
+
+ alignment = 'top_left',
+ border_inner_margin = 1,
+ border_outer_margin = 0,
+ border_width = 0,
+
+ -- color of active workspace
+ color1 = '#4E9A40',
+
+ -- inactive workspaces and divider color
+ color2 = '#808080',
+
+ -- workspaces which have windows but aren't focused
+ color3 = '#808020',
+
+ -- urgency hinting color
+ color4 = '#f9d72d',
+
+ -- color of temps and percentages
+ color5 = '#8F8F00',
+
+ -- Graph outlines
+ color6 = '#3F3B3B',
+
+ default_color = '#3F3B3B',
+ double_buffer = false,
+ draw_borders = true,
+ draw_graph_borders = true,
+ draw_shades = false,
+ gap_x = 13,
+ gap_y = 6,
+
+ -- adjust to the width of your screen
+ maximum_width = 2854,
+ minimum_width = 2854,
+ minimum_height = 0,
+
+ own_window = true,
+ own_window_argb_visual = false,
+
+ -- bar background color
+ own_window_colour = '#202020',
+
+ own_window_type = 'panel',
+ own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
+ pad_percents = 2,
+ update_interval = 1,
+ use_spacer = 'right',
+ use_xft = true,
+ --xftalpha = .2,
+
+ -- choose font and size
+ font = 'Monospace:size=8',
+
+};
conky.text = [[
-CPU ${acpitemp}° ${color darkgray}$cpu% [${cpugraph cpu0 8,8 CB4B16 CB4B16 -t -l}] │ \
-Mem ${color darkgray}$memperc% [${memgraph 8,8 596600 596600 -t -l}] │ \
-Drive ${fs_free} ${diskio_read /dev/sda}↓ [${diskiograph_read /dev/sda 8,8 663300 996633 -t -l}] \
-${diskio_write}↑ [${diskiograph_write /dev/sda 8,8 663300 996633 -t -l}] │ \
-${if_existing /sys/class/net/eth0/operstate up}\
-Eth ${addr eth0} ${downspeed eth0}↓ [${downspeedgraph eth0 8,8 CCCC00 FFFF00 -t -l}] \
-${upspeed eth0}↑ [${upspeedgraph eth0 8,8 CCCC00 FFFF00 -t -l}] │ \
-${else}\
-Wlan ${addr wlan0} [${downspeedgraph wlan0 8,8 AA7700 FFDD00 -t -l}] ${downspeed wlan0}↓ \
-[${upspeedgraph wlan0 8,8 AA7700 FFDD00 -t -l}] ${upspeed wlan0}↑ │ \
-${endif}\
-⚡${battery_percent}% │ \
-${time %F %R}\
-]]
+${execp bspc control --get-status | cut -d ":" -f 2 | xargs ~/bin/workspaces.sh}\
+\
+${color2}${alignc}CPU $color6${voffset 3}${cpugraph 20,34 859900 DC322F -t}${voffset -3}${offset 7}$color2\
+${execp echo $(cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon1/temp1_input) / 1000 | bc}°\
+\
+ Mem $color6${voffset 2}${memgraph 22,34 859900 DC322F -t}${voffset -2}${offset 7}$color2${memperc}%\
+\
+ Disk ↓${offset 2}${voffset 2}$color6${diskiograph_read /dev/sda 22,34 859900 DC322F -t}${offset 7}$color2${voffset -2}${diskio_read /dev/sda}\
+ ↑${offset 2}${voffset 2}$color6${diskiograph_write /dev/sda 22,34 859900 DC322F -t}${offset 7}$color2${voffset -2}${diskio_write /dev/sda}\
+ Net ↓${offset 2}${voffset 2}$color6${downspeedgraph wlan0 22,34 859900 DC322F -t}${voffset -2}${offset 7}$color2${downspeed wlan0}\
+ ↑${offset 2}${voffset 2}$color6${upspeedgraph wlan0 22,34 859900 DC322F -t}${voffset -2}${offset 8}$color2${upspeed wlan0}\
+\
+ ${execp if [ "$(cat /sys/bus/acpi/drivers/ac/ACPI0003\:00/power_supply/ADP1/online)" -eq "1" ]; then echo '+'; else echo '-'; fi}${battery_percent}%\
+\
+$alignr${time %a %Y-%m-%d %H:%M}\
+]];
+
+--#${execp udisks --show-info /dev/sda | grep temperature | sed 's/.* \([0-9]*\)C.*/\1/'}°\