008 Conky progettato per visualizzare informazioni relative al funzionamento del WiFi

1 Novembre, 2022 (14:39) | conky, Linux | By: sargonsei

--[[  Conky progettato per visualizzare informazioni relative al funzionamento del WiFi.
      conky -c /mnt/Dati1/conky2022/conkyEsaminaWiFi &
      Informazioni utili:
      http://conky.sourceforge.net/config_settings.html
      https://ubuntuforums.org/showthread.php?t=281865&page=2346
      http://www.ubaweb.it/miniguide/conky.php
      https://wiki.manjaro.org/index.php?title=Basic_Tips_for_conky
      https://wiki.archlinux.org/index.php/Conky_(Italiano)
      [Tutorial – Linux] Alla scoperta di Conky (Configurazione delle opzioni generali)
]] 
conky.config = {
-- ------------------------- Windows Settings
    own_window = true,
    own_window_transparent = no,
    own_window_argb_visual = true,
    own_window_argb_value = 255,
    own_window_colour = 'black',
    own_window_type = 'normal',
    own_window_hints = 'undecorated,skip_pager,below', -- sticky,skip_taskbar,

    double_buffer = true,    
    background = true,

-- ------------------------- Position
    alignment = 'top_left',

    minimum_width = 270,
    
    minimum_height = 200,
    gap_x = 300,
    gap_y = 25,

-- ------------------------- Font
    draw_shades = false,
    draw_outline = false,
    draw_borders = true,
    draw_graph_borders = true,

    default_bar_height = 3,
    default_graph_height = 20,

    use_spacer = 'right',

    use_xft = true,
    override_utf8_locale = true,

    font = 'DejaVu Sans Mono:size=8',


--------------------------- Other
    update_interval = 1,

----- text
    default_color = 'yellow',
----- headers
    color0 = 'white',
  
};

conky.text = [[
 ${color orange}Output del comando ${color red} nmcli -f SSID,BSSID,CHAN,FREQ,RATE,SIGNAL,SECURITY,RSN-FLAGS,DEVICE,ACTIVE,IN-USE dev wifi list
${color0}${exec nmcli -f SSID,BSSID,CHAN,FREQ,RATE,SIGNAL,SECURITY,RSN-FLAGS,DEVICE,ACTIVE,IN-USE dev wifi list # scansione delle reti WIFI nelle vicinanze }
 ${color orange}Output del comando ${color red} nmcli dev show |grep DNS
${color0}${exec  nmcli dev show |grep DNS }
 ${color orange}Output del comando ${color red} route -v
${color0}${exec route -v}
 ${color orange}Output del comando ${color red} lspci -k | grep -iA 3 net
${color0}${exec lspci -k | grep -iA 3 net}
 ${color orange}Output del comando ${color red} rfkill list all
${color0}${exec rfkill list all}
 ${color orange}Output del comando ${color red} dmesg | tail -13
${color0}${exec dmesg | tail -13}
 ${color orange}Output del comando ${color red} dmesg | grep bandwidth
${color0}${exec dmesg | grep bandwidth}
 ${color orange}Output del comando ${color red} cat /etc/issue ${color0}${exec cat /etc/issue}
 ${color orange}$sysname Kernel: ${color0}$kernel on $machine
 ${color orange}Output del comando ${color red} uptime 
${color0}${exec uptime}
]]