| @@ -0,0 +1,72 @@ | ||
| # Reset | ||
| Color_Off='\e[0m' # Text Reset | ||
|
|
||
| # Regular Colors | ||
| Black='\e[0;30m' # Black | ||
| Red='\e[0;31m' # Red | ||
| Green='\e[0;32m' # Green | ||
| Yellow='\e[0;33m' # Yellow | ||
| Blue='\e[0;34m' # Blue | ||
| Purple='\e[0;35m' # Purple | ||
| Cyan='\e[0;36m' # Cyan | ||
| White='\e[0;37m' # White | ||
|
|
||
| # Bold | ||
| BBlack='\e[1;30m' # Black | ||
| BRed='\e[1;31m' # Red | ||
| BGreen='\e[1;32m' # Green | ||
| BYellow='\e[1;33m' # Yellow | ||
| BBlue='\e[1;34m' # Blue | ||
| BPurple='\e[1;35m' # Purple | ||
| BCyan='\e[1;36m' # Cyan | ||
| BWhite='\e[1;37m' # White | ||
|
|
||
| # Underline | ||
| UBlack='\e[4;30m' # Black | ||
| URed='\e[4;31m' # Red | ||
| UGreen='\e[4;32m' # Green | ||
| UYellow='\e[4;33m' # Yellow | ||
| UBlue='\e[4;34m' # Blue | ||
| UPurple='\e[4;35m' # Purple | ||
| UCyan='\e[4;36m' # Cyan | ||
| UWhite='\e[4;37m' # White | ||
|
|
||
| # Background | ||
| On_Black='\e[40m' # Black | ||
| On_Red='\e[41m' # Red | ||
| On_Green='\e[42m' # Green | ||
| On_Yellow='\e[43m' # Yellow | ||
| On_Blue='\e[44m' # Blue | ||
| On_Purple='\e[45m' # Purple | ||
| On_Cyan='\e[46m' # Cyan | ||
| On_White='\e[47m' # White | ||
|
|
||
| # High Intensty | ||
| IBlack='\e[0;90m' # Black | ||
| IRed='\e[0;91m' # Red | ||
| IGreen='\e[0;92m' # Green | ||
| IYellow='\e[0;93m' # Yellow | ||
| IBlue='\e[0;94m' # Blue | ||
| IPurple='\e[0;95m' # Purple | ||
| ICyan='\e[0;96m' # Cyan | ||
| IWhite='\e[0;97m' # White | ||
|
|
||
| # Bold High Intensty | ||
| BIBlack='\e[1;90m' # Black | ||
| BIRed='\e[1;91m' # Red | ||
| BIGreen='\e[1;92m' # Green | ||
| BIYellow='\e[1;93m' # Yellow | ||
| BIBlue='\e[1;94m' # Blue | ||
| BIPurple='\e[1;95m' # Purple | ||
| BICyan='\e[1;96m' # Cyan | ||
| BIWhite='\e[1;97m' # White | ||
|
|
||
| # High Intensty backgrounds | ||
| On_IBlack='\e[0;100m' # Black | ||
| On_IRed='\e[0;101m' # Red | ||
| On_IGreen='\e[0;102m' # Green | ||
| On_IYellow='\e[0;103m' # Yellow | ||
| On_IBlue='\e[0;104m' # Blue | ||
| On_IPurple='\e[10;95m' # Purple | ||
| On_ICyan='\e[0;106m' # Cyan | ||
| On_IWhite='\e[0;107m' # White |
| @@ -0,0 +1,11 @@ | ||
| # config settings for conkyForecast.py | ||
| CACHE_FOLDERPATH = /tmp/ | ||
| CONNECTION_TIMEOUT = 5 | ||
| EXPIRY_MINUTES = 5 | ||
| TIME_FORMAT = %H:%M | ||
| DATE_FORMAT = %d-%m-%y | ||
| LOCALE = Poole, United Kingdom | ||
| XOAP_PARTNER_ID = | ||
| XOAP_LICENCE_KEY = UKXX0113 | ||
| MAXIMUM_DAYS_FORECAST = 7 | ||
| BASE_XOAP_URL = http://xml.weather.com/weather/local/<LOCATION>?cc=*&dayf=10&link=xoap&prod=xoap&par=<XOAP_PARTNER_ID>&key=<XOAP_LICENCE_KEY>&unit=m |
| @@ -0,0 +1,184 @@ | ||
| conky.config = { | ||
| background = false, | ||
| update_interval = 1, | ||
| double_buffer = true, | ||
| no_buffers = true, | ||
| imlib_cache_size = 10, | ||
| alignment = 'top_right', | ||
| gap_y = 0, | ||
| minimum_height= 620, | ||
| --maximum_width = 268, | ||
| maximum_width = 380, | ||
| own_window = true, | ||
| own_window_class = 'Conky', | ||
| own_window_type = 'normal', -- other options are: override/dock/desktop/panel | ||
| own_window_transparent = true, | ||
| own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below', | ||
| border_inner_margin = 0, | ||
| border_outer_margin = 15, | ||
| draw_shades = false, | ||
| default_shade_color = 'AAAAAA', | ||
| draw_outline = false, | ||
| default_outline_color = 'AAAAAA', | ||
| draw_borders = false, | ||
| draw_graph_borders = false, | ||
| show_graph_scale = false, | ||
| show_graph_range = false, | ||
| use_xft = true, | ||
| xftalpha = 0, | ||
| font = 'Droid Sans:size=8', | ||
| text_buffer_size = 256, | ||
| override_utf8_locale = true, | ||
| short_units = true, | ||
| pad_percents = 2, | ||
| top_name_width = 7, | ||
| default_color = 'FFFFFF', | ||
| color1 = 'FFFFFF', | ||
| color2 = 'FFFFFF', | ||
| color3 = 'FFFFFF', | ||
| color4 = 'FFFFFF', | ||
| color5 = 'FFFFFF', | ||
| color6 = 'DCDCDC', | ||
| color7 = 'FFFFFF', | ||
| color8 = 'FFFFFF' | ||
| } | ||
| conky.text = [[ | ||
| # Various images # | ||
| ${execi 300 ~/.conky-weather/YahooWeather} | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/top-bg.png -p 20,30 -s 228x61}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bottom-bg.png -p 20,492 -s 228x99}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-1.png -p 20,177 -s 228x86}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-2.png -p 20,263 -s 228x105}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-3.png -p 20,368 -s 228x110}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-4.png -p 20,478 -s 228x14}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-5.png -p 20,478 -s 228x14}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-6.png -p 20,91 -s 228x86}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/fav-color.png -p 20,91 -s 228x86}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/border.png -p 20,30 -s 228x561}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-v.png -p 95,185 -s 1x76}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-v.png -p 172,185 -s 1x76}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-h.png -p 21,369 -s 226x1}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-h.png -p 21,269 -s 226x1}\ | ||
| \ | ||
| # The days of the forecast # | ||
| \ | ||
| ${color3}${voffset 172}${alignc 77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'}${color} | ||
| ${color3}${voffset -13}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}${color} | ||
| ${color3}${voffset -13}${alignc -77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}${color} | ||
| \ | ||
| # The temperatures of the forecast # | ||
| \ | ||
| ${color2}${voffset 51}${alignc 77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}°${color} | ||
| ${color2}${voffset -13}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${color} | ||
| ${color2}${voffset -13}${alignc -77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${color} | ||
| \ | ||
| # The "conditions" section of the conky # | ||
| \ | ||
| ${goto 46}${voffset -172}${font Droid Sans :size=28}${color1}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}${color} | ||
| ${goto 46}${voffset 18}${font Droid Sans :size=12}${color1}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "text=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${font}${color} | ||
| ${color1}${alignr 52}${voffset -73}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "pressure=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "pressure=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} | ||
| ${color1}${alignr 52}${voffset 7}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "humidity=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} %${color} | ||
| ${color1}${alignr 52}${voffset 7}${execi 300 grep "yweather:wind" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${color} | ||
| \ | ||
| # Clock + calendar # | ||
| \ | ||
| ${voffset -100}${font Droid Sans Mono :size=8}${alignc}${color2}${exec cat /etc/issue.net} $machine${font}${color} | ||
| ${voffset 6}${font Droid Sans :size=10}${alignc}${color6}Kernel: ${kernel}${font}${color} | ||
| # Cpu, memory, uptime, and load graph # | ||
| ${voffset 294}${goto 40}${color5}Cpu:${color} | ||
| ${voffset 4}${goto 40}${color5}Mem:${color} | ||
| ${voffset 4}${goto 40}${color5}Uptime:${color} | ||
| ${voffset -47}${alignr 39}${color6}${cpu cpu0}%${color} | ||
| ${voffset 4}${alignr 39}${color6}${memperc}%${color} | ||
| ${voffset 4}${alignr 39}${color6}${uptime_short}${color} | ||
| ${voffset -47}${alignc}${color2}${cpubar 5,36}${color} | ||
| ${voffset 4}${alignc}${color2}${membar 5,36}${color} | ||
| ${voffset 29}${goto 40}${loadgraph 26,190 FFFFFF FFFFFF -l} | ||
| \ | ||
| # The processes section # | ||
| \ | ||
| ${voffset 26}${goto 40}${color5}${top_mem name 1}${color} | ||
| ${voffset 4}${goto 40}${color5}${top_mem name 2}${color} | ||
| ${voffset 4}${goto 40}${color5}${top_mem name 3}${color} | ||
| ${voffset 4}${goto 40}${color5}${top_mem name 4}${color} | ||
| ${voffset 4}${goto 40}${color5}${top_mem name 5}${color} | ||
| ${voffset -81}${alignc}${color2}${top_mem mem 1}%${color} | ||
| ${voffset 4}${alignc}${color2}${top_mem mem 2}%${color} | ||
| ${voffset 4}${alignc}${color2}${top_mem mem 3}%${color} | ||
| ${voffset 4}${alignc}${color2}${top_mem mem 4}%${color} | ||
| ${voffset 4}${alignc}${color2}${top_mem mem 5}%${color} | ||
| ${voffset -81}${alignr 39}${color6}${top_mem mem_res 1}${color} | ||
| ${voffset 4}${alignr 39}${color6}${top_mem mem_res 2}${color} | ||
| ${voffset 4}${alignr 39}${color6}${top_mem mem_res 3}${color} | ||
| ${voffset 4}${alignr 39}${color6}${top_mem mem_res 4}${color} | ||
| ${voffset 4}${alignr 39}${color6}${top_mem mem_res 5}${color} | ||
| ${voffset -104}${goto 40}${color1}Proc${color} | ||
| ${voffset -13}${alignc}${color1}Mem%${color} | ||
| ${voffset -13}${alignr 39}${color1}Mem${color} | ||
| \ | ||
| # The network section # | ||
| \ | ||
| ${if_existing /proc/net/route ppp0} | ||
| ${voffset -227}${goto 40}${color5}Up: ${color2}${upspeed ppp0}${color5}${goto 150}Down: ${color2}${downspeed ppp0} | ||
| ${voffset 10}${goto 40}${upspeedgraph ppp0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph ppp0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup ppp0}${color5}${goto 150}Received: ${color2}${totaldown ppp0} | ||
| ${else} | ||
| ${if_existing /proc/net/route ppp1} | ||
| ${voffset -240}${goto 40}${color5}Up: ${color2}${upspeed ppp1}${color5}${goto 150}Down: ${color2}${downspeed ppp1} | ||
| ${voffset 10}${goto 40}${upspeedgraph ppp1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph ppp1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup ppp1}${color5}${goto 150}Received: ${color2}${totaldown ppp1} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlp2s1} | ||
| ${voffset -253}${goto 40}${color5}Up: ${color2}${upspeed wlp2s1}${color5}${goto 150}Down: ${color2}${downspeed wlp2s1} | ||
| ${voffset 10}${goto 40}${upspeedgraph wlp2s1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph wlp2s1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup wlp2s1}${color5}${goto 150}Received: ${color2}${totaldown wlp2s1} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlp2s0} | ||
| ${voffset -266}${goto 40}${color5}Up: ${color2}${upspeed wlp2s0}${color5}${goto 150}Down: ${color2}${downspeed wlp2s0} | ||
| ${voffset 10}${goto 40}${upspeedgraph wlp2s0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph wlp2s0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup wlp2s0}${color5}${goto 150}Received: ${color2}${totaldown wlp2s0} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlan0} | ||
| ${voffset -279}${goto 40}${color5}Up: ${color2}${upspeed wlan0}${color5}${goto 150}Down: ${color2}${downspeed wlan0} | ||
| ${voffset 8}${goto 40}${upspeedgraph wlan0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph wlan0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup wlan0}${color5}${goto 150}Received: ${color2}${totaldown wlan0} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlan1} | ||
| ${voffset -292}${goto 40}${color5}Up: ${color2}${upspeed wlan1}${color5}${goto 150}Down: ${color2}${downspeed wlan1} | ||
| ${voffset 10}${goto 40}${upspeedgraph wlan1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph wlan1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup wlan1}${color5}${goto 150}Received: ${color2}${totaldown wlan1} | ||
| ${else} | ||
| ${if_existing /proc/net/route eth1} | ||
| ${voffset -305}${goto 40}${color5}Up: ${color2}${upspeed eth1}${color5}${goto 150}Down: ${color2}${downspeed eth1} | ||
| ${voffset 10}${goto 40}${upspeedgraph eth1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph eth1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup eth1}${color5}${goto 150}Received: ${color2}${totaldown eth1} | ||
| ${else} | ||
| ${if_existing /proc/net/route eth0} | ||
| ${voffset -318}${goto 40}${color5}Up: ${color2}${upspeed eth0}${color5}${goto 150}Down: ${color2}${downspeed eth0} | ||
| ${voffset 10}${goto 40}${upspeedgraph eth0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph eth0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup eth0}${color5}${goto 150}Received: ${color2}${totaldown eth0} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlan0} | ||
| ${voffset -331}${goto 40}${color5}Up: ${color2}${upspeed enp0s0}${color5}${goto 150}Down: ${color2}${downspeed enp0s0} | ||
| ${voffset 10}${goto 40}${upspeedgraph enp0s0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph enp0s0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup enp0s0}${color5}${goto 150}Received: ${color2}${totaldown enp0s0} | ||
| ${else} | ||
| ${if_existing /proc/net/route enp0s1} | ||
| ${voffset -344}${goto 40}${color5}Up: ${color2}${upspeed enp0s1}${color5}${goto 150}Down: ${color2}${downspeed enp0s1} | ||
| ${voffset 10}${goto 40}${upspeedgraph enp0s1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph enp0s1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup enp0s1}${color5}${goto 150}Received: ${color2}${totaldown enp0s1} | ||
| ${else} | ||
| ${voffset -311}${goto 40}${color8}Network disconnected${color} | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/offline.png -p 44,284 -s 16x16} | ||
| ${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif} | ||
| \ | ||
| # Various images including the icons of the forecast # | ||
| \ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/pressure.png -p 224,95 -s 16x16}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/humidity.png -p 224,115 -s 16x16}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/wind-2.png -p 224,136 -s 16x16}\ | ||
| ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1').png ~/.cache/weather-1.png}${image ~/.cache/weather-1.png -p 41,207 -s 32x32}\ | ||
| ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 119,207 -s 32x32}\ | ||
| ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 195,207 -s 32x32}${font}${voffset -120}\ | ||
| ]] | ||
| -- vim: ts=4 sw=4 noet ai cindent syntax=lua |
| @@ -0,0 +1,196 @@ | ||
| # Conky settings # | ||
| background yes | ||
| update_interval 1 | ||
| double_buffer yes | ||
| no_buffers yes | ||
| imlib_cache_size 10 | ||
|
|
||
| # Window specifications # | ||
| alignment top_right | ||
| gap_y 0 | ||
| minimum_size 268 620 | ||
| maximum_width 268 | ||
| own_window yes | ||
| own_window_type normal # other options are: override/dock/desktop/panel | ||
| own_window_transparent yes | ||
| own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below | ||
| border_inner_margin 0 | ||
| border_outer_margin 0 | ||
| #alignment middle_middle | ||
| #own_window_argb_visual yes | ||
| #own_window_argb_value 0 | ||
|
|
||
| # Graphics settings # | ||
| draw_shades no | ||
| default_shade_color AAAAAA | ||
| draw_outline no | ||
| default_outline_color AAAAAA | ||
| draw_borders no | ||
| draw_graph_borders no | ||
| default_graph_size 26 80 | ||
| show_graph_scale no | ||
| show_graph_range no | ||
|
|
||
| # Text settings # | ||
| use_xft yes | ||
| xftalpha 0 | ||
| xftfont Droid Sans:size=8 | ||
| text_buffer_size 256 | ||
| override_utf8_locale yes | ||
|
|
||
| # Useful shortenings # | ||
| short_units yes | ||
| pad_percents 2 | ||
| top_name_width 7 | ||
|
|
||
| # Color scheme # | ||
| default_color FFFFFF | ||
| color1 FFFFFF | ||
| color2 FFFFFF | ||
| color3 FFFFFF | ||
| color4 FFFFFF | ||
| color5 FFFFFF | ||
| color6 DCDCDC | ||
| color7 FFFFFF | ||
| color8 FFFFFF | ||
|
|
||
| TEXT | ||
| # Various images # | ||
| ${execi 300 ~/.conky-weather/YahooWeather} | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/top-bg.png -p 20,30 -s 228x61}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bottom-bg.png -p 20,492 -s 228x99}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-1.png -p 20,177 -s 228x86}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-2.png -p 20,263 -s 228x105}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-3.png -p 20,368 -s 228x110}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-4.png -p 20,478 -s 228x14}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-5.png -p 20,478 -s 228x14}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/bg-6.png -p 20,91 -s 228x86}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/fav-color.png -p 20,91 -s 228x86}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/border.png -p 20,30 -s 228x561}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-v.png -p 95,185 -s 1x76}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-v.png -p 172,185 -s 1x76}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-h.png -p 21,369 -s 226x1}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/separator-h.png -p 21,269 -s 226x1}\ | ||
| \ | ||
| # The days of the forecast # | ||
| \ | ||
| ${color3}${voffset 172}${alignc 77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'}${color} | ||
| ${color3}${voffset -13}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}${color} | ||
| ${color3}${voffset -13}${alignc -77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}${color} | ||
| \ | ||
| # The temperatures of the forecast # | ||
| \ | ||
| ${color2}${voffset 51}${alignc 77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}°${color} | ||
| ${color2}${voffset -13}${alignc}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${color} | ||
| ${color2}${voffset -13}${alignc -77}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°/${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${color} | ||
| \ | ||
| # The "conditions" section of the conky # | ||
| \ | ||
| ${goto 36}${voffset -172}${font Droid Sans :size=36}${color1}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}${color} | ||
| ${goto 46}${voffset 14}${font Droid Sans :size=12}${color1}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "text=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${font}${color} | ||
| ${color1}${alignr 52}${voffset -73}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "pressure=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "pressure=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} | ||
| ${color1}${alignr 52}${voffset 7}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "humidity=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} %${color} | ||
| ${color1}${alignr 52}${voffset 7}${execi 300 grep "yweather:wind" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${color} | ||
| \ | ||
| # Clock + calendar # | ||
| \ | ||
| ${voffset -105}${font Droid Sans Mono :size=11}${alignc}${color2}${pre_exec cat /etc/issue.net} $machine${font}${color} | ||
| ${voffset 6}${font Droid Sans :size=10}${alignc}${color6}Kernel: ${kernel}${font}${color} | ||
| \ | ||
| # Cpu, memory, uptime, and load graph # | ||
| \ | ||
| ${voffset 294}${goto 40}${color5}Cpu:${color} | ||
| ${voffset 4}${goto 40}${color5}Mem:${color} | ||
| ${voffset 4}${goto 40}${color5}Uptime:${color} | ||
| ${voffset -47}${alignr 39}${color6}${cpu cpu0}%${color} | ||
| ${voffset 4}${alignr 39}${color6}${memperc}%${color} | ||
| ${voffset 4}${alignr 39}${color6}${uptime_short}${color} | ||
| ${voffset -47}${alignc}${color2}${cpubar 5,36}${color} | ||
| ${voffset 4}${alignc}${color2}${membar 5,36}${color} | ||
| ${voffset 29}${goto 40}${loadgraph 26,190 FFFFFF FFFFFF -l} | ||
| \ | ||
| # The processes section # | ||
| \ | ||
| ${voffset 26}${goto 40}${color5}${top_mem name 1}${color} | ||
| ${voffset 4}${goto 40}${color5}${top_mem name 2}${color} | ||
| ${voffset 4}${goto 40}${color5}${top_mem name 3}${color} | ||
| ${voffset 4}${goto 40}${color5}${top_mem name 4}${color} | ||
| ${voffset 4}${goto 40}${color5}${top_mem name 5}${color} | ||
| ${voffset -81}${alignc}${color2}${top_mem mem 1}%${color} | ||
| ${voffset 4}${alignc}${color2}${top_mem mem 2}%${color} | ||
| ${voffset 4}${alignc}${color2}${top_mem mem 3}%${color} | ||
| ${voffset 4}${alignc}${color2}${top_mem mem 4}%${color} | ||
| ${voffset 4}${alignc}${color2}${top_mem mem 5}%${color} | ||
| ${voffset -81}${alignr 39}${color6}${top_mem mem_res 1}${color} | ||
| ${voffset 4}${alignr 39}${color6}${top_mem mem_res 2}${color} | ||
| ${voffset 4}${alignr 39}${color6}${top_mem mem_res 3}${color} | ||
| ${voffset 4}${alignr 39}${color6}${top_mem mem_res 4}${color} | ||
| ${voffset 4}${alignr 39}${color6}${top_mem mem_res 5}${color} | ||
| ${voffset -104}${goto 40}${color1}Proc${color} | ||
| ${voffset -13}${alignc}${color1}Mem%${color} | ||
| ${voffset -13}${alignr 39}${color1}Mem${color} | ||
| \ | ||
| # The network section # | ||
| \ | ||
| ${if_existing /proc/net/route ppp0} | ||
| ${voffset -227}${goto 40}${color5}Up: ${color2}${upspeed ppp0}${color5}${goto 150}Down: ${color2}${downspeed ppp0} | ||
| ${voffset 10}${goto 40}${upspeedgraph ppp0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph ppp0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup ppp0}${color5}${goto 150}Received: ${color2}${totaldown ppp0} | ||
| ${else} | ||
| ${if_existing /proc/net/route ppp1} | ||
| ${voffset -240}${goto 40}${color5}Up: ${color2}${upspeed ppp1}${color5}${goto 150}Down: ${color2}${downspeed ppp1} | ||
| ${voffset 10}${goto 40}${upspeedgraph ppp1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph ppp1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup ppp1}${color5}${goto 150}Received: ${color2}${totaldown ppp1} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlp2s1} | ||
| ${voffset -253}${goto 40}${color5}Up: ${color2}${upspeed wlp2s1}${color5}${goto 150}Down: ${color2}${downspeed wlp2s1} | ||
| ${voffset 10}${goto 40}${upspeedgraph wlp2s1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph wlp2s1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup wlp2s1}${color5}${goto 150}Received: ${color2}${totaldown wlp2s1} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlp2s0} | ||
| ${voffset -266}${goto 40}${color5}Up: ${color2}${upspeed wlp2s0}${color5}${goto 150}Down: ${color2}${downspeed wlp2s0} | ||
| ${voffset 10}${goto 40}${upspeedgraph wlp2s0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph wlp2s0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup wlp2s0}${color5}${goto 150}Received: ${color2}${totaldown wlp2s0} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlan0} | ||
| ${voffset -279}${goto 40}${color5}Up: ${color2}${upspeed wlan0}${color5}${goto 150}Down: ${color2}${downspeed wlan0} | ||
| ${voffset 8}${goto 40}${upspeedgraph wlan0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph wlan0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup wlan0}${color5}${goto 150}Received: ${color2}${totaldown wlan0} | ||
| ${else} | ||
| ${if_existing /proc/net/route wlan1} | ||
| ${voffset -292}${goto 40}${color5}Up: ${color2}${upspeed wlan1}${color5}${goto 150}Down: ${color2}${downspeed wlan1} | ||
| ${voffset 10}${goto 40}${upspeedgraph wlan1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph wlan1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup wlan1}${color5}${goto 150}Received: ${color2}${totaldown wlan1} | ||
| ${else} | ||
| ${if_existing /proc/net/route eth1} | ||
| ${voffset -305}${goto 40}${color5}Up: ${color2}${upspeed eth1}${color5}${goto 150}Down: ${color2}${downspeed eth1} | ||
| ${voffset 10}${goto 40}${upspeedgraph eth1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph eth1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup eth1}${color5}${goto 150}Received: ${color2}${totaldown eth1} | ||
| ${else} | ||
| ${if_existing /proc/net/route eth0} | ||
| ${voffset -318}${goto 40}${color5}Up: ${color2}${upspeed eth0}${color5}${goto 150}Down: ${color2}${downspeed eth0} | ||
| ${voffset 10}${goto 40}${upspeedgraph eth0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph eth0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup eth0}${color5}${goto 150}Received: ${color2}${totaldown eth0} | ||
| ${else} | ||
| ${if_existing /proc/net/route enp0s0} | ||
| ${voffset -331}${goto 40}${color5}Up: ${color2}${upspeed enp0s0}${color5}${goto 150}Down: ${color2}${downspeed enp0s0} | ||
| ${voffset 10}${goto 40}${upspeedgraph enp0s0 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph enp0s0 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup enp0s0}${color5}${goto 150}Received: ${color2}${totaldown enp0s0} | ||
| ${else} | ||
| ${if_existing /proc/net/route enp0s1} | ||
| ${voffset -344}${goto 40}${color5}Up: ${color2}${upspeed enp0s1}${color5}${goto 150}Down: ${color2}${downspeed enp0s1} | ||
| ${voffset 10}${goto 40}${upspeedgraph enp0s1 26,80 FFFFFF FFFFFF}${goto 150}${downspeedgraph enp0s1 26,80 FFFFFF FFFFFF} | ||
| ${voffset 9}${goto 40}${color5}Sent: ${color2}${totalup enp0s1}${color5}${goto 150}Received: ${color2}${totaldown enp0s1} | ||
| ${else} | ||
| ${voffset -311}${goto 40}${color8}Network disconnected${color} | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/offline.png -p 44,284 -s 16x16} | ||
| ${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif} | ||
| \ | ||
| # Various images including the icons of the forecast # | ||
| \ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/pressure.png -p 224,95 -s 16x16}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/humidity.png -p 224,115 -s 16x16}\ | ||
| ${image ~/.conky-weather/assets/Zukitwo-v2/God-Mode/wind-2.png -p 224,136 -s 16x16}\ | ||
| ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1').png ~/.cache/weather-1.png}${image ~/.cache/weather-1.png -p 41,207 -s 32x32}\ | ||
| ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-2.png}${image ~/.cache/weather-2.png -p 119,207 -s 32x32}\ | ||
| ${execi 300 cp -f ~/.conky-weather/icons/weather-icons-light3/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 195,207 -s 32x32}${font}${voffset -120}\ |
| @@ -0,0 +1,109 @@ | ||
| #============================================================================== | ||
| # conkyrc_grey | ||
| # | ||
| # author : SLK | ||
| # version : v2011011601 | ||
| # license : Distributed under the terms of GNU GPL version 2 or later | ||
| # | ||
| #============================================================================== | ||
|
|
||
| background yes | ||
| update_interval 1 | ||
|
|
||
| cpu_avg_samples 2 | ||
| net_avg_samples 2 | ||
| temperature_unit celsius | ||
|
|
||
| double_buffer yes | ||
| no_buffers yes | ||
| text_buffer_size 2048 | ||
|
|
||
| gap_x 10 | ||
| gap_y 30 | ||
| minimum_size 190 450 | ||
| maximum_width 190 | ||
| own_window yes | ||
| own_window_type conky | ||
| own_window_transparent yes | ||
| own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below | ||
| border_inner_margin 0 | ||
| border_outer_margin 0 | ||
| alignment tr | ||
|
|
||
| draw_shades no | ||
| draw_outline no | ||
| draw_borders no | ||
| draw_graph_borders no | ||
|
|
||
| override_utf8_locale yes | ||
| use_xft yes | ||
| xftfont caviar dreams:size=8 | ||
| xftalpha 0.5 | ||
| uppercase no | ||
|
|
||
| default_color FFFFFF | ||
| color1 DDDDDD | ||
| color2 AAAAAA | ||
| color3 888888 | ||
| color4 666666 | ||
|
|
||
| lua_load ~/.conky_grey.lua | ||
| lua_draw_hook_post main | ||
|
|
||
| TEXT | ||
| ${voffset 35} | ||
| ${goto 95}${color4}${font ubuntu:size=22}${time %e}${color1}${offset -50}${font ubuntu:size=10}${time %A} | ||
| ${goto 85}${color2}${voffset -2}${font ubuntu:size=9}${time %b}${voffset -2} ${color3}${font ubuntu:size=12}${time %Y}${font} | ||
|
|
||
| ${voffset 80} | ||
| ${goto 90}${font Ubuntu:size=7,weight:bold}${color}CPU | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}% | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color2}${top name 2}${alignr}${top cpu 2}% | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color3}${top name 3}${alignr}${top cpu 3}% | ||
| ${goto 90}${cpugraph 10,100 666666 666666} | ||
| ${goto 90}${voffset -10}${font Ubuntu:size=7,weight:normal}${color}${threads} process | ||
|
|
||
| ${voffset 20} | ||
| ${goto 90}${font Ubuntu:size=7,weight:bold}${color}MEM - ${mem} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${top_mem name 1}${alignr}${top_mem mem 1}% | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color2}${top_mem name 2}${alignr}${top_mem mem 2}% | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color3}${top_mem name 3}${alignr}${top_mem mem 3}% | ||
|
|
||
| ${voffset 15} | ||
| ${goto 90}${font Ubuntu:size=7,weight:bold}${color}DISKS | ||
|
|
||
| ${goto 90}${diskiograph 30,100 666666 666666}${voffset -30} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color}used: ${fs_used /home} /home | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color}used: ${fs_used /} / | ||
|
|
||
| ${voffset 10} | ||
| ${goto 70}${font Ubuntu:size=18,weight:bold}${color3}NET${alignr}${color2}${font Ubuntu:size=7,weight:bold}${color1}${if_up wlan0}wifi ${addr wlan0}${endif}${if_up eth0}eth ${addr eth0} ${endif} | ||
|
|
||
| ${goto 90}${font Ubuntu:size=7,weight:bold}${color}Upload Download | ||
| ${goto 90}${font Ubuntu:size=7,weight:bold}${color}${offset 10}Speeds | ||
|
|
||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}Up: ${upspeed wlan0}${goto 90}${font}${alignr}${color3}${upspeedgraph wlan0 8,50} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}Down: ${downspeed wlan0}${goto 90}${font}${alignr}${color3}${downspeedgraph wlan0 8,40} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}Total Up: ${totalup wlan0} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}Total Down: ${totaldown wlan0} | ||
|
|
||
| ${goto 90}${font Ubuntu:size=7,weight:bold}${color}open ports: ${alignr}${color2}${tcp_portmon 1 65535 count} | ||
| ${goto 90}${font Ubuntu:size=7,weight:bold}${color}${offset 10}IP${alignr}DPORT | ||
|
|
||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 0}${alignr 1}${tcp_portmon 1 65535 rport 0} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 1}${alignr 1}${tcp_portmon 1 65535 rport 1} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 2}${alignr 1}${tcp_portmon 1 65535 rport 2} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 3}${alignr 1}${tcp_portmon 1 65535 rport 3} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 4}${alignr 1}${tcp_portmon 1 65535 rport 4} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 5}${alignr 1}${tcp_portmon 1 65535 rport 5} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 6}${alignr 1}${tcp_portmon 1 65535 rport 6} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 7}${alignr 1}${tcp_portmon 1 65535 rport 7} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 8}${alignr 1}${tcp_portmon 1 65535 rport 8} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 9}${alignr 1}${tcp_portmon 1 65535 rport 9} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 10}${alignr 1}${tcp_portmon 1 65535 rport 10} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 11}${alignr 1}${tcp_portmon 1 65535 rport 11} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 12}${alignr 1}${tcp_portmon 1 65535 rport 12} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 13}${alignr 1}${tcp_portmon 1 65535 rport 13} | ||
| ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${tcp_portmon 1 65535 rip 14}${alignr 1}${tcp_portmon 1 65535 rport 14} | ||
|
|
||
|
|
| @@ -0,0 +1,33 @@ | ||
| alignment top_middle | ||
| background no | ||
| border_margin 5 | ||
| border_width 5 | ||
| default_color 8e8e8e | ||
| double_buffer yes | ||
| draw_borders no | ||
| draw_outline no | ||
| draw_shades no | ||
| gap_x 0 | ||
| gap_y 30 | ||
| maximum_width 1700 | ||
| minimum_size 175 | ||
| no_buffers yes | ||
| override_utf8_locale yes | ||
| own_window yes | ||
| own_window_title conky | ||
| own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager | ||
| own_window_transparent yes | ||
| own_window_type normal ## normal /override /desktop | ||
| text_buffer_size 8000 | ||
| total_run_times 0 | ||
| update_interval 1 | ||
| uppercase no | ||
| use_xft yes | ||
| xftalpha 1 | ||
| xftfont Freesans:pixelsize=9 | ||
|
|
||
| TEXT | ||
| ${font Antipasto:pixelsize=24}${alignc}${time %A, %I:%M %p }${font} | ||
| ${font Antipasto:pixelsize=54}${alignc}${time %d %B, %Y}${font} | ||
|
|
||
| ${font Antipasto:pixelsize=14}${alignc} RAM: ${mem} || LAN Up: ${upspeed eth0} LAN Dwn: ${downspeed eth0} || CPU1: ${cpu cpu0}% CPU2: ${cpu cpu1}% |
| @@ -0,0 +1,3 @@ | ||
| proc | ||
| sys | ||
| run |
| @@ -0,0 +1,11 @@ | ||
| [user] | ||
| email = blutgens+gh@gmail.com | ||
| name = blutgens | ||
| [push] | ||
| default = simple | ||
| [credential "https://github.com"] | ||
| username = blutgens | ||
|
|
||
| [credential "gitlab@git.vdc.cpr.ca"] | ||
| email = benjamin_lutgens@cpr.ca | ||
| username = lut0023 |
| @@ -0,0 +1,7 @@ | ||
| .ssh/known_hosts | ||
| *.pyc | ||
| .ssh/id_rsa | ||
| .vim/.netrwhist | ||
| *.swp | ||
| .vim/backup | ||
| bin/private-* |
| @@ -0,0 +1,3 @@ | ||
| %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} | ||
| %_topdir /home/blutgens/rpmbuild | ||
| %packager Ben Lutgens <blutgens@gmail.com> |
| @@ -0,0 +1,5 @@ | ||
| .cache | ||
| .mozilla | ||
| .tmp | ||
| .config/google-chrome | ||
|
|
| @@ -0,0 +1,11 @@ | ||
| # this is a comment | ||
| label:Commands | ||
| Terminator|terminator|-l quad | ||
| Gnome Terminal|gnome-terminal| | ||
| htop|gnome-terminal|-x htop | ||
| label:SSH (Linux Servers) | ||
| SSH ldcsrun1|gnome-terminal|-x ssh ldcsrun1 | ||
| SSH lsmss0001|gnome-terminal|-x ssh root@lsmss0001 | ||
| SSH lsmss0002|gnome-terminal|-x ssh root@lsmss0002 | ||
| #label:RDP connections | ||
|
|
| @@ -0,0 +1,127 @@ | ||
| if has("gui_running") | ||
| " GUI is running or is about to start. | ||
| set guifont=Terminus\ 10 | ||
| colorscheme badwolf | ||
| set lines=72 columns=140 | ||
| elseif &term =~ "xterm" | ||
| set t_Co=256 | ||
| colorscheme badwolf | ||
| elseif &term =~ "linux" | ||
| unset t_Co | ||
| colorscheme badwolf | ||
| endif | ||
|
|
||
| set complete+=k " scan the files given with the 'dictionary' option | ||
| set cursorline | ||
| set noai | ||
| set ruler | ||
| set autoread " read open files again when changed outside Vim | ||
| set autowrite " write a modified buffer on each :next , ... | ||
| set browsedir=current " which directory to use for the file browser | ||
| set incsearch " use incremental search | ||
| set hlsearch " highlight search | ||
| set shiftwidth=4 " number of spaces to use for each step of indent | ||
| set tabstop=4 " number of spaces that a <Tab> in the file counts for | ||
| set softtabstop=4 " number of spaces in tab when editing | ||
| set expandtab " convert tabs to spaces | ||
| set textwidth=80 | ||
| set shiftround " always indent/outdent to nearest tabstop | ||
| set nodigraph | ||
| set modeline | ||
| set modelines=3 | ||
| set visualbell | ||
| syntax on | ||
| set shortmess=Iat | ||
| " in case this doesn't exist, don't load it. | ||
| if !empty(glob("$VIMRUNTIME/menu.vim")) | ||
| so $VIMRUNTIME/menu.vim | ||
| endif | ||
| execute pathogen#infect() | ||
| set background=dark | ||
| set report=0 | ||
| set laststatus=2 | ||
| set suffixes=.bak,~,.swp,.o,.info,.aux,.dvi,.idx,.out,.toc | ||
| set foldcolumn=0 | ||
| set backupdir=~/.vim/backup | ||
| set directory=~/.vim/backup | ||
| set list listchars=tab:â–·â‹…,trail:â‹…,nbsp:â‹… | ||
| "set statusline=%t\ %y\ format:\ %{&ff};\ [%c,%l]----%{fugitive#statusline()} | ||
| set statusline=%t\ %y\ fmt:\ %{&ff};\ [%c,%l] | ||
|
|
||
| " Include Git info on statusline if fugitive is present | ||
| set statusline+=--%{exists('g:loaded_fugitive')?fugitive#statusline():''} | ||
| "set statusline+=%{exists('g:loaded_fugitive')?fugitive#statusline():''} | ||
| " | ||
| autocmd Filetype gitcommit setlocal spell textwidth=72 | ||
|
|
||
| autocmd StdinReadPre * let s:std_in=1 | ||
| "autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | ||
| autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif | ||
| map <F4> :NERDTreeToggle<CR> | ||
| let g:NERDTreeDirArrowExpandable = 'â–¸' | ||
| let g:NERDTreeDirArrowCollapsible = 'â–ľ' | ||
|
|
||
| set statusline+=%#warningmsg# | ||
| set statusline+=%{SyntasticStatuslineFlag()} | ||
| set statusline+=%* | ||
|
|
||
| noremap <F6> :set invnumber<CR> | ||
| noremap <F6> <C-O>:set invnumber<CR> | ||
|
|
||
| let g:syntastic_always_populate_loc_list = 1 | ||
| let g:syntastic_auto_loc_list = 1 | ||
| let g:syntastic_check_on_open = 1 | ||
| let g:syntastic_check_on_wq = 0 | ||
|
|
||
| set backspace=2 | ||
| let loaded_matchparen = 1 | ||
| filetype plugin indent on | ||
| au FileType py set autoindent | ||
| " Viewport Controls | ||
| " ie moving between split panes | ||
| map <silent>,h <C-w>h | ||
| map <silent>,j <C-w>j | ||
| map <silent>,k <C-w>k | ||
| map <silent>,l <C-w>l | ||
|
|
||
| au FileType py set textwidth=79 " PEP-8 Friendly | ||
| au BufRead,BufNewFile ~/ansible-plays/*.yml set ft=ansible | ||
| let g:ansible_options = {'ignore_blank_lines': 0,'{documentation_mapping': '<C-K>'} | ||
|
|
||
|
|
||
|
|
||
| "------------------------------------------------------------------------ | ||
| " Fast switching between buffers | ||
| " The current buffer will be saved before switching to the next one. | ||
| " Choose :bprevious or :bnext | ||
| "------------------------------------------------------------------------ | ||
| map <silent> <S-tab> <Esc>:if &modifiable && !&readonly && | ||
| \ &modified <CR> :write<CR> :endif<CR>:bprevious<CR> | ||
| imap <silent> <S-tab> <Esc>:if &modifiable && !&readonly && | ||
| \ &modified <CR> :write<CR> :endif<CR>:bprevious<CR> | ||
| nmap <C-q> :wqa<CR> | ||
| set wildmenu | ||
| set wildignore=*.bak,*.o,*.e,*~ | ||
| set number | ||
| nnoremap <F2> :set nonumber!<CR>:set foldcolumn=0<CR> | ||
| autocmd FileType python set complete+=k~/.vim/syntax/python.vim isk+=.,( | ||
| " | ||
| "noremap <F5> <ESC>:w<CR>:silent execute "!python %"<CR><CR> | ||
|
|
||
| "au BufEnter *.py if getline(1) == "" | :call setline(1, "#!/usr/bin/env python") | endif | ||
| " Automatically chmod +x Shell and Perl scripts | ||
| au BufWritePost *.sh silent !chmod +x % | ||
| au BufWritePost *.pl silent !chmod +x % | ||
| au BufWritePost *.py silent !chmod +x % | ||
|
|
||
|
|
||
| " Append modeline after last line in buffer. | ||
| " " Use substitute() instead of printf() to handle '%%s' modeline in LaTeX | ||
| " " files. | ||
| function! AppendModeline() | ||
| let l:modeline = printf(" vim: set ts=%d sw=%d tw=%d %set :", | ||
| \ &tabstop, &shiftwidth, &textwidth, &expandtab ? '' : 'no') | ||
| let l:modeline = substitute(&commentstring, "%s", l:modeline, "") | ||
| call append(line("$"), l:modeline) | ||
| endfunction | ||
| nnoremap <silent> <Leader>ml :call AppendModeline()<CR> |
| @@ -0,0 +1,121 @@ | ||
| [global_config] | ||
| enabled_plugins = ActivityWatch, | ||
| focus = mouse | ||
| suppress_multiple_term_dialog = True | ||
| [keybindings] | ||
| [layouts] | ||
| [[default]] | ||
| [[[child1]]] | ||
| parent = window0 | ||
| type = Terminal | ||
| [[[window0]]] | ||
| parent = "" | ||
| type = Window | ||
| [[ansible]] | ||
| [[[child0]]] | ||
| fullscreen = False | ||
| last_active_term = 88cd7149-e660-4213-970f-e623c9dc2b87 | ||
| last_active_window = True | ||
| maximised = False | ||
| order = 0 | ||
| parent = "" | ||
| position = 625:76 | ||
| size = 1360, 1173 | ||
| title = /bin/bash | ||
| type = Window | ||
| [[[child1]]] | ||
| order = 0 | ||
| parent = child0 | ||
| position = 775 | ||
| ratio = 0.663256606991 | ||
| type = VPaned | ||
| [[[child3]]] | ||
| order = 1 | ||
| parent = child1 | ||
| position = 677 | ||
| ratio = 0.5 | ||
| type = HPaned | ||
| [[[terminal2]]] | ||
| command = ssh ldcsrun1 | ||
| order = 0 | ||
| parent = child1 | ||
| profile = default | ||
| title = ansible | ||
| type = Terminal | ||
| uuid = 88cd7149-e660-4213-970f-e623c9dc2b87 | ||
| [[[terminal4]]] | ||
| order = 0 | ||
| parent = child3 | ||
| profile = default | ||
| type = Terminal | ||
| uuid = 0e3f98e8-65d8-4297-8776-b75c39409051 | ||
| [[[terminal5]]] | ||
| order = 1 | ||
| parent = child3 | ||
| profile = default | ||
| type = Terminal | ||
| uuid = 2c70f375-e162-4023-8c5c-ddfa732b1897 | ||
| [[quad]] | ||
| [[[child0]]] | ||
| fullscreen = False | ||
| last_active_term = a3e147e1-2c96-4094-bc5e-443834707768 | ||
| last_active_window = True | ||
| maximised = False | ||
| order = 0 | ||
| parent = "" | ||
| position = 775:24 | ||
| size = 1367, 774 | ||
| title = /bin/bash | ||
| type = Window | ||
| [[[child1]]] | ||
| order = 0 | ||
| parent = child0 | ||
| position = 681 | ||
| ratio = 0.500365764448 | ||
| type = HPaned | ||
| [[[child2]]] | ||
| order = 0 | ||
| parent = child1 | ||
| position = 384 | ||
| ratio = 0.5 | ||
| type = VPaned | ||
| [[[child5]]] | ||
| order = 1 | ||
| parent = child1 | ||
| position = 384 | ||
| ratio = 0.5 | ||
| type = VPaned | ||
| [[[terminal3]]] | ||
| command = ssh ldcsrun1 | ||
| order = 0 | ||
| parent = child2 | ||
| profile = default | ||
| title = ldcsrun1 | ||
| type = Terminal | ||
| uuid = a3e147e1-2c96-4094-bc5e-443834707768 | ||
| [[[terminal4]]] | ||
| order = 1 | ||
| parent = child2 | ||
| profile = default | ||
| type = Terminal | ||
| uuid = 89eb10c2-6d3f-41de-b2c7-242e27523dd2 | ||
| [[[terminal6]]] | ||
| order = 0 | ||
| parent = child5 | ||
| profile = default | ||
| type = Terminal | ||
| uuid = 7eed9531-a7c3-4c50-9299-5fc5d2c3278b | ||
| [[[terminal7]]] | ||
| order = 1 | ||
| parent = child5 | ||
| profile = default | ||
| type = Terminal | ||
| uuid = 7e641a2c-f69c-4c91-86d0-dfc0141d4764 | ||
| [plugins] | ||
| [profiles] | ||
| [[default]] | ||
| background_image = None | ||
| cursor_color = "#aaaaaa" | ||
| foreground_color = "#ffffff" | ||
| palette = "#000000:#ff1c1c:#4e9a06:#c4a000:#3465a4:#75507b:#06989a:#d3d7cf:#000000:#ff1c1c:#8ae234:#fce94f:#729fcf:#ad7fa8:#34e2e2:#eeeeec" | ||
| scrollback_lines = 10000 |