.conkyrc (7003B)
1 --[[ conky configuration 2 ------------------------------ 3 For conky variables and commands use the terminal command: 4 5 man conky 6 7 ------------------------------ 8 BunsenLabs conky threads 9 10 Index ยป Scripts, Tutorials & Tips ยป Conky - Calendars / Clocks / Time 11 https://forums.bunsenlabs.org/viewtopic.php?id=516 12 13 Open a thread and post conky questions in: Index ยป GUI & Applications 14 https://forums.bunsenlabs.org/viewforum.php?id=4 15 16 Display your completed conky and codes 17 Index ยป Scripts, Tutorials & Tips ยป Show us your conky 18 https://forums.bunsenlabs.org/viewtopic.php?id=512 19 20 ------------------------------ 21 BunsenLabs conky scripts help 22 Openbox Menu/Preferences/Conky/Conky Manager Help 23 24 If there are one or more conkys running, it is possible to kill one conky with 25 the following command, IF you used what is between the quotes to start the conky, e.g.: 26 pkill -xf "conky -q -c $HOME/.config/conky/BL-Default.conkyrc" 27 ]] 28 29 30 conky.config = { 31 32 -- Window Settings 33 own_window = true, 34 own_window_type = 'desktop', 35 own_window_transparent = true, 36 own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky', 37 own_window_colour = '000000', 38 own_window_class = 'Conky', 39 own_window_title = 'BunsenLabs Default Conky', 40 41 -- ARGB can be used for real transparency 42 --own_window_argb_visual = true, -- Options: true|false 43 44 -- NOTE that a composite manager is required for real transparency and ARGB will not 45 -- work as desired (in most cases) in conjunction with 'own_window_type override'. 46 -- Use with: own_window_type = 'normal', 47 -- Use with: own_window_transparent = false, 48 49 -- When ARGB visuals are enabled, use the following to modify the alpha value. Valid 50 -- range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity. 51 --own_window_argb_value = 150, 52 53 minimum_width = 200, minimum_height = 0,-- width | height 54 maximum_width = 200, 55 56 gap_x = 20,-- left | right 57 gap_y = 45,-- up | down 58 59 alignment = 'top_right', 60 -- End Window Settings 61 62 63 -- Font Settings 64 -- Use Xft (anti-aliased font and stuff) 65 use_xft = true, 66 67 --font = 'Liberation Mono:bold:size=10', 68 --font = 'Liberation Sans:size=10', 69 font = 'Sans-serif:size=9', 70 71 -- Alpha of Xft font. Must be a value at or between 1 and 0 72 xftalpha = 1, 73 74 -- Force UTF8? requires XFT 75 override_utf8_locale = true, 76 77 uppercase = false, 78 -- End Font Settings 79 80 81 -- Color Settings 82 draw_shades = false, 83 default_shade_color = '000000', 84 85 draw_outline = false,-- amplifies text if true 86 default_outline_color = '000000', 87 88 default_color = '678b8b', -- Beam green 89 --default_color = '656667', -- Waldorf original colour 90 --default_color = '7a7a7a', -- Flame & BunsenLabs Grey 91 --default_color = '929292', -- BunsenLabs Grey 92 --default_color = 'C0C0C0', -- BunsenLabs Silver 93 color0 = 'B0E0E6',-- PowderBlue 94 color1 = '778899',-- LightSlateGray 95 color2 = 'D8BFD8',-- Thistle 96 color3 = '9ACD32',-- YellowGreen 97 color4 = 'FFA07A',-- LightSalmon 98 color5 = 'FFDEAD',-- NavajoWhite 99 color6 = '00BFFF',-- DeepSkyBlue 100 color7 = '5F9EA0',-- CadetBlue 101 color8 = 'BDB76B',-- DarkKhaki 102 color9 = 'C0C0C0',-- Silver 103 -- End Color Settings 104 105 106 -- Borders Section 107 draw_borders = false, 108 -- Stippled borders? 109 stippled_borders = 5, 110 -- border margins 111 border_inner_margin = 5, 112 border_outer_margin = 0, 113 -- border width 114 border_width = 2, 115 -- graph borders 116 draw_graph_borders = true, 117 --default_graph_height = 15, 118 --default_graph_width = 40, 119 -- End Borders Section 120 121 122 -- Miscellaneous Section 123 -- Boolean value, if true, Conky will be forked to background when started. 124 background = true, 125 126 -- Adds spaces around certain objects to stop them from moving other things 127 -- around, this only helps if you are using a mono font 128 -- Options: right, left or none 129 use_spacer = 'none', 130 131 -- Default and Minimum size is 256 - needs more for single commands that 132 -- "call" a lot of text IE: bash scripts 133 --text_buffer_size = 6144, 134 135 -- Subtract (file system) buffers from used memory? 136 no_buffers = true, 137 138 -- change GiB to G and MiB to M 139 short_units = true, 140 141 -- Imlib2 image cache size, in bytes. Default 4MiB Increase this value if you use 142 -- $image lots. Set to 0 to disable the image cache. 143 imlib_cache_size = 0, 144 145 -- Use the Xdbe extension? (eliminates flicker) 146 -- It is highly recommended to use own window with this one 147 -- so double buffer won't be so big. 148 double_buffer = true, 149 150 -- Maximum size of user text buffer, i.e. layout below TEXT line in config file 151 -- (default is 16384 bytes) 152 --max_user_text = 16384, 153 154 -- Desired output unit of all objects displaying a temperature. Parameters are 155 -- either "fahrenheit" or "celsius". The default unit is degree Celsius. 156 --temperature_unit = 'Fahrenheit', 157 158 -- Update interval in seconds 159 update_interval = 1, 160 161 -- End Miscellaneous Section 162 163 template0 = [[${goto 20}${upspeedf \1}KiB/s${goto 90}โ${goto 100}${upspeedgraph \1 12,0 678b8b ffffff -t}\ 164 ${goto 20}${downspeedf \1}KiB/s${goto 90}โ${goto 100}${downspeedgraph \1 12,0 678b8b ffffff -t}]], 165 show_graph_range = yes, 166 show_graph_scale = yes 167 }; 168 169 170 conky.text = [[ 171 S Y S T E M I N F O 172 ${hr} 173 Host:${alignr}${nodename} 174 Uptime:${alignr}${uptime} 175 CPU: 176 ${goto 30}${freq_g 1}${goto 100}${cpugraph cpu1 12,0 678b8b ffffff -t} 177 ${goto 30}${freq_g 2}${goto 100}${cpugraph cpu2 12,0 678b8b ffffff -t} 178 RAM:${goto 100}${mem}${goto 150}/${alignr}${memmax} 179 ${goto 100}${memgraph 12,0 678b8b ffffff -t} 180 ${goto 30}Swap${goto 100}${swap}${goto 150}/${alignr}${swapmax} 181 Disk:${goto 100}${fs_used /}${goto 150}/${alignr}${fs_size /} 182 ${goto 30}I/O${goto 100}${diskiograph 12,0 678b8b ffffff -t} 183 Net: 184 ${if_match "${gw_iface}" == "wlp2s0"}${template0 wlp2s0}${else}${template0 enp3s0}${endif} 185 Entropy:${goto 100}${entropy_avail}b${goto 150}/${alignr}${entropy_poolsize}b 186 # Weather information from openweathermap.org can be displayed in conky by 187 # using the script $HOME/.config/conky/scripts/bunsenweather.sh. The openweathermap 188 # service requires registration in order to receive an API Key, which has to be 189 # added to bunsenweather.sh. For further info see this script and the following thread: 190 # https://forums.bunsenlabs.org/viewtopic.php?id=2060 191 # 192 # Calling bunsenweather.sh from conky works by using 193 # ${execpi <t> /path/to/bunsenweather.sh "yourlocation"} 194 # where <t> is the update interval. If "yourlocation" is not defined, the script 195 # sets geolocation based on your IP adress using the website ipinfo.io. 196 # 197 #W E A T H E R 198 #${hr} 199 #${execpi 600 $HOME/.config/conky/scripts/bunsenweather.sh} 200 201 S H O R T C U T K E Y S 202 ${hr} 203 Alt + F2${alignr}Run Dialog 204 Alt + F3${alignr}Alt Menu 205 Super${alignr}Main Menu 206 Super + Tab${alignr}Client Menu 207 Super + t${alignr}Terminal 208 Super + f${alignr}File Manager 209 Super + e${alignr}Editor 210 Super + m${alignr}Media Player 211 Super + w${alignr}Web Browser 212 Super + h${alignr}Task Manager 213 Super + l${alignr}Lock Screen 214 Super + v${alignr}Volume Control 215 Super + x${alignr}Logout 216 PrtSc${alignr}Screenshot 217 ]];