dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit d32019c575b76b622d75862ed5a597b56aabd47e
parent 4231816c816255eb2967c10175b73e21c8164c2a
Author: pyratebeard <root@pyratebeard.net>
Date:   Fri, 30 Dec 2016 11:59:27 +0000

changed some colours. added batt percentage and bar. changed network device and added command to show connected network name. fixed size and moved from middle_right to top_right

Diffstat:
Mconky/.conkyrc | 31+++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/conky/.conkyrc b/conky/.conkyrc @@ -26,11 +26,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ]] conky.config = { - alignment = 'middle_right', + alignment = 'top_right', background = true, border_width = 0, cpu_avg_samples = 8, - default_color = 'd9d9d9', + default_color = 'd9d9d9', default_outline_color = '001a25', default_shade_color = 'a7360c', draw_borders = false, @@ -40,10 +40,10 @@ conky.config = { use_xft = true, font = 'Tamsyn:size=10', gap_x = 20, - gap_y = 0, - minimum_height = 830, - minimum_width = 160, - maximum_width = 180, + gap_y = 10, + minimum_height = 850, + minimum_width = 160, + maximum_width = 180, net_avg_samples = 2, no_buffers = true, out_to_console = false, @@ -51,7 +51,7 @@ conky.config = { extra_newline = false, own_window = true, own_window_class = 'Conky', - own_window_type = 'override', + own_window_type = 'Desktop', own_window_title = 'conky', own_window_colour = '292929', stippled_borders = 0, @@ -68,11 +68,13 @@ conky.text = [[ /System: $sysname /Kernel: $kernel ${color 0b0b0b}${hr 2}${color d9d9d9} -${alignc}${offset -8}${execpi 600 cal -m | sed -e 's|'`date +%d`'|\$\{color 0b0b0b}'`date +%d`'\$\{color d9d9d9}|' | sed s/^/'${alignc}'/}${offset 37}${color 33aaaa} +${alignc}${offset -8}${execpi 600 cal -m | sed -e 's|'`date +%d`'|\$\{color 33aaaa}'`date +%d`'\$\{color d9d9d9}|' | sed s/^/'${alignc}'/}${offset 37}${color 33aaaa} /Time: ${time %H:%M:%S} /${time %a %d.%m.%Y} ${color 0b0b0b}${hr 2}${color 33aaaa} - /Uptime ${color #01c8e5}$uptime + /Uptime ${color 33aaaa}$uptime${color d9d9d9} + /Batt $battery_percent% +${alignc}${color 33aaaa}${battery_bar 5,160} ${color 0b0b0b}${hr 2}${color d9d9d9} /$machine CPU Usage: ${cpu cpu0}% @@ -95,12 +97,13 @@ ${color 0b0b0b}${hr 2}${color d9d9d9} ${top name 5}${alignr}${top cpu 5} ${top mem 5} ${color 0b0b0b}${hr 2}${color d9d9d9} - /Address: ${addr enp8s0} - /Downstream: ${downspeed enp8s0} - /Upstream: ${upspeed enp8s0} + /Address: ${addr enp0s3} +${alignr}${exec nmcli d | grep connected | awk -F\ \ '{print $4}'} + /Downstream: ${downspeed enp0s3} + /Upstream: ${upspeed enp0s3} -${alignc}${color 000000}${downspeedgraph enp8s0 20,160 33aaaa 33aaaa -l} -${alignc}${color 000000}${upspeedgraph enp8s0 20,160 33aaaa 33aaaa -l}${color d9d9d9} +${alignc}${color 000000}${downspeedgraph enp0s3 20,160 33aaaa 33aaaa -l} +${alignc}${color 000000}${upspeedgraph enp0s3 20,160 33aaaa 33aaaa -l}${color d9d9d9} /File systems: /${alignr}${fs_used /}/${fs_size /}