Advertisement
pintcat

conky.conf (goes into ~/.config/conky/)

Dec 22nd, 2024 (edited)
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.89 KB | Software | 0 0
  1. -- Conky, a system monitor https://github.com/brndnmtthws/conky
  2. --
  3. -- This configuration file is Lua code. You can write code in here, and it will
  4. -- execute when Conky loads. You can use it to generate your own advanced
  5. -- configurations.
  6. --
  7. -- Try this (remove the `--`):
  8. --
  9. --   print("Loading Conky config")
  10. --
  11. -- For more on Lua, see:
  12. -- https://www.lua.org/pil/contents.html
  13.  
  14. conky.config = {
  15.     alignment = 'top_left',
  16.     background = true,
  17.     border_width = 5,
  18.     cpu_avg_samples = 2,
  19.     default_color = 'white',
  20.     default_outline_color = 'white',
  21.     default_shade_color = 'black',
  22.     double_buffer = true,
  23.     draw_borders = false,
  24.     draw_graph_borders = true,
  25.     draw_outline = false,
  26.     draw_shades = false,
  27.     extra_newline = false,
  28.     font = 'Arial:size=12',
  29.     gap_x = 4,
  30.     gap_y = 40,
  31.     maximum_width = 440,
  32.     net_avg_samples = 1,
  33.     no_buffers = true,
  34.     out_to_console = false,
  35.     out_to_ncurses = false,
  36.     out_to_stderr = false,
  37.     out_to_x = true,
  38.     own_window = true,
  39.     own_window_type = 'normal',
  40.     own_window_transparent = false,
  41.     own_window_class = 'Conky',
  42.     own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  43.     own_window_argb_visual = true,
  44.     own_window_argb_value = 0,
  45.     show_graph_range = false,
  46.     show_graph_scale = false,
  47.     stippled_borders = 3,
  48.     border_inner_margin = 4,
  49.     border_width = 5,
  50.     update_interval = 0.5,
  51.     uppercase = false,
  52.     use_spacer = 'right',
  53.     text_buffer_size = 256,
  54.     use_xft = true,
  55.     xftalpha = 0.1
  56. }
  57.  
  58. conky.text = [[
  59. ${font default:size=18}${time %A, %e. %B}$alignr${time %H:%M:%S}
  60. ${font Arial:bold:size=20}${color #886666}nostromo ${hr 2}
  61. $font$sysname $kernel $alignr $machine
  62. Uptime $alignr${uptime_short}
  63.  
  64. ${font Arial:bold:size=12}${color #886666}NETWORK ${hr 2}
  65. $font${color}IP on wlp59s0: $alignr ${addr wlp59s0}
  66. Up speed:$alignr${upspeed wlp59s0} per sec
  67. ${upspeedgraph wlp59s0 20,440}
  68. Down speed:$alignr${downspeed wlp59s0} per sec
  69. ${downspeedgraph wlp59s0 20,440}
  70. Uploaded: $alignr ${totalup wlp59s0}
  71. Downloaded: $alignr ${totaldown wlp59s0}
  72.  
  73. ${font Arial:bold:size=12}${color #886666}PROCESSORS ${hr 2}
  74. $font${color white}Core1: ${cpu cpu1}% $alignr Freq: ${freq 1}MHz
  75. ${cpubar cpu1}
  76. Core2: ${cpu cpu2}% $alignr Freq: ${freq 2}MHz
  77. ${cpubar cpu2}
  78. Core3: ${cpu cpu3}% $alignr Freq: ${freq 3}MHz
  79. ${cpubar cpu3}
  80. Core4: ${cpu cpu4}% $alignr Freq: ${freq 4}MHz
  81. ${cpubar cpu4}
  82. Temperature$alignr${hwmon 0 temp 1}°C
  83.  
  84. ${font Arial:bold:size=12}${color #886666}RAM ${hr 2}
  85. $font${color white}Usage: $alignc $mem / $memmax $alignr $memperc%
  86. ${memgraph 100,440 -l}
  87.  
  88. ${font Arial:bold:size=12}${color #886666}HDD ${hr 2}
  89. $font${color white}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
  90. ${fs_bar /home}
  91. Disk I/O: ${diskio}
  92. Read:
  93. ${diskiograph_read 20,440 750}
  94. Write:
  95. ${diskiograph_write 20,440 750}
  96. ]]
  97.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement