ArchLabs Linux

Edited the Default Conky

I don’t use Conky much these days. Just a simple conky showing Storage usage and keybinds (which I don’t really need lol). Thought I’d share it here.

-- For commands above TEXT check:
-- http://conky.sourceforge.net/config_settings.html

-- For commands available below TEXT check:
-- http://conky.sourceforge.net/variables.html

-- ARCHLabs Conky help threads
-- http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424

-- beta tested by: smacz
-- Enjoy! :)

-- converted to conky 1.10 syntax for ARCHLabs by: postmaster

-- pkill -xf "conky -c $HOME/.config/conky/CB-Right.conkyrc" &

conky.config = {
--##  Begin Window Settings  #####################
own_window = true,
own_window_type = 'desktop',
own_window_transparent = true,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_colour = '#000000',
own_window_class = 'Conky',
own_window_title = 'ARCHLabs CB Right Conky',

--## ARGB can be used for real transparency
--## NOTE that a composite manager is required for real transparency.
--## This option will not work as desired (in most cases) in conjunction with
--## own_window_type normal
-- own_window_argb_visual yes # Options: yes or no

--## When ARGB visuals are enabled, this use this to modify the alpha value
--## Use: own_window_type normal
--## Use: own_window_transparent no
--## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
-- own_window_argb_value 150

minimum_width = 300, 
minimum_height = 0,
maximum_width = 400,

gap_x = -3800,--## left | right
gap_y = 20,--## up | down

alignment = 'top_right',
--######################  End Window Settings  ###
--##  Font Settings  #############################
-- Use Xft (anti-aliased font and stuff)
use_xft = true,
--xftfont Liberation Mono:bold:size=10
--xftfont Liberation Sans:bold:size=10
font = 'Open Sans:regular:size=8',

-- Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha = 1,
-- Force UTF8? requires XFT ###
override_utf8_locale = true,

uppercase = false,
--########################  End Font Settings  ###
--##  Color Settings  ############################
draw_shades = false,--yes
default_shade_color = '#000000',

draw_outline = false,-- amplifies text if yes
default_outline_color = '#000000',

--default_color '#656667' # Waldorf original colour
--default_color '#7a7a7a' # Flame  & Bunsen Grey
--default_color '#929292' # Labs Grey
default_color = '#3D3C3B',-- Silver
color0 = '#B0E0E6',-- PowderBlue
color1 = '#778899',-- LightSlateGray
color2 = '#D8BFD8',-- Thistle
color3 = '#9ACD32',-- YellowGreen
color4 = '#FFA07A',-- LightSalmon
color5 = '#FFDEAD',-- NavajoWhite
color6 = '#00BFFF',-- DeepSkyBlue
color7 = '#5F9EA0',-- CadetBlue
color8 = '#BDB76B',-- DarkKhaki
color9 = '#CD5C5C',-- IndianRed
--######################  End Colour Settings  ###
--##  Borders Section  ###########################
draw_borders = false,
-- Stippled borders?
stippled_borders = 5,
-- border margins
border_inner_margin = 5,
border_outer_margin = 0,
-- border width
border_width = 2,
-- graph borders
draw_graph_borders = false,
--default_graph_size 15 40
--######################  End Borders Section  ###
--##  Miscellaneous Section  #####################
-- Boolean value, if true, Conky will be forked to background when started.
background = true,

-- Adds spaces around certain objects to stop them from moving other things
-- around, this only helps if you are using a mono font
-- Options: right, left or none
use_spacer = 'none',

-- Default and Minimum size is 256 - needs more for single commands that
-- "call" a lot of text IE: bash scripts
--text_buffer_size 6144

-- Subtract (file system) buffers from used memory?
no_buffers = true,

-- change GiB to G and MiB to M
short_units = true,

-- Like it says, ot pads the decimals on % values
-- doesn't seem to work since v1.7.1
pad_percents = 2,

-- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use
-- $image lots. Set to 0 to disable the image cache.
imlib_cache_size = 0,

-- Use the Xdbe extension? (eliminates flicker)
-- It is highly recommended to use own window with this one
-- so double buffer won't be so big.
double_buffer = true,

--   Maximum size of user text buffer, i.e. layout below TEXT line in config file
--  (default is 16384 bytes)
-- max_user_text 16384

-- Desired output unit of all objects displaying a temperature. Parameters are
-- either "fahrenheit" or "celsius". The default unit is degree Celsius.
-- temperature_unit Fahrenheit

--################  End Miscellaneous Section  ###

update_interval = 1,
--Updates:${alignr}${execpi 20 checkupdates | wc -l}

};

conky.text = [[
${hr}
${time %l:%M %P}${alignr}${time %m/%d/%y}${font}
${hr}
${alignc}S T O R A G E    I N F O
${hr}
Swap usage:${alignr}${swap} / ${swapmax}
Root usage:$alignr${fs_used /} / ${fs_size /}
Home usage:$alignr${fs_used /home} / ${fs_size /home}
Music usage:$alignr${fs_used /run/media/dobbie/Music} / ${fs_size /run/media/dobbie/Music}
Movies usage:$alignr${fs_used /run/media/dobbie/Movies} / ${fs_size /run/media/dobbie/Movies}
Depot usage:$alignr${fs_used /run/media/dobbie/Back Up} / ${fs_size /run/media/dobbie/Back Up}
Vault usage:$alignr${fs_used /run/media/dobbie/Time Machine} / ${fs_size /run/media/dobbie/Time Machine}
Cache usage:$alignr${fs_used /run/media/dobbie/Important} / ${fs_size /run/media/dobbie/Important}

${hr}
${alignc}S H O R T C U T    K E Y S
${hr}
Alt + F2${alignr}Run Dialog
Alt + F3${alignr}Alt Menu
Super + Space${alignr}Main Menu
Super + Tab${alignr}Client Menu
Super + t${alignr}Terminal
Super + f${alignr}File Manager
Super + e${alignr}Editor
Super + m${alignr}Media Player
Super + w${alignr}Web Browser
Super + h${alignr}Task Manager
Super + l${alignr}Lock Screen
Super + v${alignr}Volume Control
Super + x${alignr}Logout
Super + Shift + e${alignr}Exit
PrtSc${alignr}Screenshot

#${voffset -20}MPD$alignr${if_mpd_playing} 
#${mpd_artist} 
#${mpd_title} 
#${mpd_bar 3 2}
]];

Of course you will need to update the paths to your drives to suit your setup and resolution too. This is set for my 4k res.

Screenshot:

3 Likes

I am working on a conky as soon as I can. It’s pretty ‘busy’ but in one place. Found the conky from somewhere else, but it needs a lot of rework in order to run in a Arch linux environment. It will be awhile, but in essence, it will show your system info, what you are listening to, and if I can get it to work, weather.

1 Like