Advertisement
Guest User

Simple Conky

a guest
Feb 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. conky.config = {
  2.     alignment = 'top_middle',
  3.     background = true,
  4.     default_color = 'white',
  5.     use_xft = true,
  6.     font = 'Ubuntu Mono:size=16',
  7.     gap_x = 0,
  8.     gap_y = 20,
  9.     update_interval = 1.0,
  10.     uppercase = false,
  11.  
  12.     own_window = true,
  13.     own_window_transparent = true,
  14.     own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
  15.     double_buffer = true
  16. }
  17.  
  18. conky.text = [[
  19. ${font Ubuntu:bold:size=36} ${time %B %d, %Y} $font
  20. $hr
  21. $alignc CPU Temp: ${exec sensors | grep 'Physical id 0' | awk '{print $4}' | cut -c 2-3}°C - ${exec sensors -f | grep 'Physical id 0' | awk '{print $4}' | cut -c 2-3}°F
  22. $alignc CPU Load: ${cpu cpu0}%
  23. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement