├── README.md ├── filesystem_rc ├── fortune_rc ├── launch_all.sh ├── mediaplayer.py ├── mediaplayer_rc ├── memory_rc ├── network_rc ├── processes_rc ├── screenshots ├── screenshot1.jpg └── screenshot2.jpg ├── system_rc └── time_rc /README.md: -------------------------------------------------------------------------------- 1 | conky-cards 2 | =========== 3 | 4 | This conky setup consists of eight individual conky scripts ("cards") which display 5 | * Date and time 6 | * General system information 7 | * Processes (top processes and usage) 8 | * Memory and swap usage 9 | * A "fortune" message from `fortune` 10 | * Disk usage 11 | * Network usage 12 | * Metadata of the current track playing 13 | 14 | Screenshots 15 | =========== 16 | 17 | ![Screenshot 0](https://i.imgur.com/9eBtSKl.png) 18 | ![Screenshot 1](screenshots/screenshot1.jpg) 19 | ![Screenshot 2](screenshots/screenshot2.jpg) 20 | 21 | Installation 22 | =========== 23 | 24 | #### Requirements 25 | 26 | Install `conky` , preferably the package `conky-all` if in the future you want to use some exotic features 27 | For the mediaplayer "card", you need `python3` 28 | For the fortune "card", you need `fortune` 29 | The script uses the following fonts, install them 30 | (see Customization if you wish to use your fonts) 31 | * Antipasto [Download here](http://www.dafont.com/antipasto.font) 32 | * Open Sans [Download here](http://www.fontsquirrel.com/fonts/open-sans) 33 | * Oswald [Download here](http://www.fontsquirrel.com/fonts/oswald) 34 | 35 | Copy/Move the contents to a directory of your liking and edit the following files to specify this directory by replacing `INSERT_PATH` to your directory. e.g. if the scripts are in `/home/foo/path/to/my/dir` then run 36 | ``` 37 | $ cd /home/foo/path/to/my/dir 38 | $ sed -i 's:INSERT_PATH:/home/foo/path/to/my/dir:' mediaplayer_rc launch_all.sh 39 | ``` 40 | 41 | Now, set `launch_all.sh` as executable (`chmod u+x launch_all.sh`) and run it. If you're on Plasma, that's it. 42 | 43 | Otherwise, on other platforms you might have to uncomment the sleep line in that script and add the script to your startup applications. 44 | If you don't know how, Google is your friend. 45 | For non-plasma systems, if **after** 10-15 seconds, you don't see conky on your desktop, try running: 46 | ``` 47 | sed -i -r 's/own_window_type .*/own_window_type normal/' *_rc 48 | ``` 49 | 50 | 51 | Customization 52 | ================= 53 | 54 | **Network** 55 | 56 | You might want to replace `enp0s20u1` in `network_rc` with the device you are connected to the internet with similarly for the wifi device e.g. 57 | ``` 58 | $ sed -i 's/enp0s20u1/enp0s30u1/' network_rc 59 | ``` 60 | 61 | **Media Player** 62 | 63 | Replace `clementine` in `mediaplayer_rc` with the name of your media player (e.g. `vlc`, or `audacious`, or `spotify`). 64 | This should probably just work (after replacement) if the media player you are using implements MPRIS 2.0 (most players do). 65 | To customize the output, you might want to see `python3 mediaplayer.py --help` 66 | 67 | **Fortune** 68 | 69 | See `man fortune` and edit the arguments to the fortune call in `fortune_rc` 70 | 71 | 72 | **Colors** 73 | 74 | Each script uses a set of three colors, defined as 75 | * color1 (color) 76 | Color of the Card heading 77 | * color2 (color) 78 | Color of the horizontal line stretching from the heading to the right end 79 | * color3 (color) 80 | Text color 81 | Here, (color) can be specified using the hexadecimal notation (without the preceding #) or a color name specified in `/usr/share/X11/rgb.txt` 82 | Examples of legit colors : red, blue, 20efef 83 | You can change any of the above colors to suit your liking/theme 84 | Examples: 85 | If you want headings in blue, then run 86 | ``` 87 | $ sed -i -r "s/color1 = '.*',$/color1 = '#0000ff',/" *_rc 88 | 89 | ``` 90 | 91 | Similarly, you can change the background color of the 'cards' specified by the variable `own_window_colour` 92 | Background opacity is specified by `own_window_argb_value (value between 0 and 255)` 93 | 94 | 95 | **Fonts** 96 | 97 | The following fonts are used 98 | * Antipasto [Download here](http://www.dafont.com/antipasto.font) 99 | Font in the which the clock is displayed 100 | * Open Sans [Download here](http://www.fontsquirrel.com/fonts/open-sans) 101 | Font for the general text 102 | * Oswald [Download here](http://www.fontsquirrel.com/fonts/oswald) 103 | Font for the Cards' headings 104 | 105 | Substitue them using sed like above. 106 | 107 | 108 | 109 | Author 110 | ======== 111 | Amish Naidu http://amhndu.github.io 112 | -------------------------------------------------------------------------------- /filesystem_rc: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | font = 'sans:size=10', 4 | --xftfont sans:size=10 5 | use_xft = true, 6 | xftalpha = 0.9, 7 | update_interval = 2, 8 | imlib_cache_size = 0, 9 | total_run_times = 0, 10 | own_window = true, 11 | own_window_type = 'dock', 12 | --own_window_transparent yes 13 | own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 14 | own_window_argb_visual = true, 15 | own_window_argb_value = 180, 16 | own_window_colour = '#224466', 17 | double_buffer = true, 18 | minimum_width = 225, 19 | draw_shades = false, 20 | draw_outline = false, 21 | draw_borders = false, 22 | draw_graph_borders = true, 23 | default_color = '#101010', 24 | default_shade_color = '#101010', 25 | default_outline_color = 'green', 26 | alignment = 'top_left', 27 | gap_x = 320,--40 28 | gap_y = 200,--40 29 | no_buffers = true, 30 | cpu_avg_samples = 1, 31 | uppercase = false, 32 | border_inner_margin = 15, 33 | 34 | --colors 35 | color1 = '#96A0DF', 36 | color2 = '#aaa', 37 | color3 = '#ddd', 38 | 39 | }; 40 | 41 | conky.text = [[ 42 | ${font Oswald:bold:size=10}${color1}FILESYSTEM ${color2} ${hr 2} 43 | 44 | ${color3}${font Open Sans:size=9}Root: ${alignr}${fs_used_perc /}% ${color1}${fs_bar 6, 140 /} 45 | ${color3}${font Open Sans:pixelsize=9}${alignc 49}Size: ${fs_used /} / ${fs_size /} 46 | ${color3}${font Open Sans:size=9}Home: ${alignr}${fs_used_perc /home}% ${color1}${fs_bar 6, 140 /home} 47 | ${color3}${font Open Sans:pixelsize=9}${alignc 49}Size: ${fs_used /home} / ${fs_size /home}]]; 48 | -------------------------------------------------------------------------------- /fortune_rc: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | font = 'sans:size=10', 4 | --xftfont sans:size=10 5 | use_xft = true, 6 | xftalpha = 0.9, 7 | update_interval = 2, 8 | imlib_cache_size = 0, 9 | total_run_times = 0, 10 | own_window = true, 11 | own_window_type = 'dock', 12 | --own_window_transparent yes 13 | own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 14 | own_window_argb_visual = true, 15 | own_window_argb_value = 180, 16 | own_window_colour = '#224466', 17 | double_buffer = true, 18 | minimum_width = 700, minimum_height = 100, 19 | maximum_size = '700 100', 20 | draw_shades = false, 21 | draw_outline = false, 22 | draw_borders = false, 23 | draw_graph_borders = true, 24 | default_color = '#101010', 25 | default_shade_color = '#101010', 26 | default_outline_color = 'green', 27 | alignment = 'top_left', 28 | gap_x = 320, 29 | gap_y = 40, 30 | no_buffers = true, 31 | cpu_avg_samples = 1, 32 | uppercase = false, 33 | border_inner_margin = 15, 34 | 35 | --colors 36 | color1 = '#96A0DF', 37 | color2 = '#aaa', 38 | color3 = '#ddd', 39 | 40 | }; 41 | 42 | conky.text = [[ 43 | ${color1}${font Oswald:size=10:bold}FORTUNE ${color2} ${hr 2} 44 | 45 | ${color3}${font Open Sans:size=10}${execi 100 fortune -s -n 120 wisdom linux computers science | fmt -w 160} 46 | ]]; 47 | -------------------------------------------------------------------------------- /launch_all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #sleep 10 3 | conky -dq -c INSERT_PATH/time_rc 4 | conky -dq -c INSERT_PATH/system_rc 5 | conky -dq -c INSERT_PATH/processes_rc 6 | conky -dq -c INSERT_PATH/memory_rc 7 | conky -dq -c INSERT_PATH/filesystem_rc 8 | conky -dq -c INSERT_PATH/network_rc 9 | conky -dq -c INSERT_PATH/fortune_rc 10 | conky -dq -c INSERT_PATH/mediaplayer_rc 11 | -------------------------------------------------------------------------------- /mediaplayer.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # 3 | # mediaplayer.py 4 | # 5 | # Print the metadata of a mediaplayer on conky and control it 6 | # This can also be used as a stand-alone command line application 7 | # 8 | # Author : Amish Naidu 9 | # I release this in the public domain, do with it what you want. 10 | 11 | import dbus, argparse, subprocess 12 | 13 | #Concat left and right, add alignr if conky_alignr is true and trunc 14 | def fmt_field(left, right, conky_alignr, width): 15 | res = str(left) 16 | res += ':${alignr}' if conky_alignr else ': ' 17 | res += str(right) 18 | if width > 0: 19 | return res[:width] 20 | else: 21 | return res 22 | 23 | #Return a string containing time in HH:MM:SS format from microseconds 24 | def fmt_time(microseconds): 25 | seconds = microseconds/1000000 26 | return '{:02}:{:02}:{:02}'.format(int(seconds//3600), int((seconds%3600)//60), int(seconds%60)) 27 | 28 | if __name__ == '__main__': 29 | 30 | parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, description='''\ 31 | Connect to a media player through dbus to get the metadata or control it. 32 | This can be used to output the current track playing (and it's attributes) on *conky* 33 | %(prog)s can print the metadata of the track currently playing and 34 | make the player perform an action 35 | If the bus was not found, 'Not found' will be printed. 36 | If any property is not found, 'Unknown' will be used/printed. 37 | The 'player' must support MPRIS 2.0''', 38 | epilog='''\ 39 | Examples of usage: 40 | 41 | To display the Artist, Title and Album with Clementine 42 | $ python3 %(prog)s clementine -atm 43 | To display the Artist, Title, Album and Genre but this time with ${alignr} between the field and it's value 44 | $ python3 %(prog)s vlc -atmg -r 45 | Using the long form arguments with Audacious 46 | $ python3 %(prog)s audacious --album --artist --length 47 | To switch track 48 | $ python3 %(prog)s amarok --action=next 49 | $ python3 %(prog)s clementine --action=play 50 | 51 | Author: Amish Naidu (amhndu --at-- gmail) 52 | Please report any bugs. 53 | ''') 54 | 55 | 56 | parser.add_argument('-i', '--running', action='store_true', help="print 'yes' if the 'player' is running, 'no' otherwise") 57 | parser.add_argument('player', action='store', 58 | help="name of the player e.g. 'clementine', or 'vlc' or 'audacious' or 'xmms2'") 59 | parser.add_argument('-r', '--conkyalignr', action='store_true', help='Add ${alignr} before values') 60 | parser.add_argument('-w', '--width', type=int, 61 | help="Truncate lines upto 'width' characters. No limit if less than zero (default)", default=-1) 62 | parser.add_argument('-t', '--title', action='store_true', help='title of the track') 63 | parser.add_argument('-a', '--artist', action='store_true', help='artist name') 64 | parser.add_argument('-m', '--album', action='store_true', help='album name') 65 | parser.add_argument('-g', '--genre', action='store_true', help='genre of the current track') 66 | parser.add_argument('-y', '--year', action='store_true', help='year of the track') 67 | parser.add_argument('-l', '--length', action='store_true', help='lenght of the track') 68 | parser.add_argument('-e', '--elapsed', action='store_true', help='elapsed time for the track') 69 | parser.add_argument('-p', '--progress', action='store_true', 70 | help='progress of the track as a percent (not formatted)') 71 | parser.add_argument('-n', '--track', action='store_true', help='track number') 72 | parser.add_argument('-c', '--cover', help='Make a (soft) symlink at the specified location to the album art') 73 | parser.add_argument('--cover_default', help='If the the album art could not be found from the player, make a link to this') 74 | parser.add_argument('--action', action='store', help='make the player perform an action : next, prev, play, pause, volume up/down by 0.1', 75 | choices=['next', 'prev', 'pause', 'play', 'playpause', 'volup', 'voldown']) 76 | args = parser.parse_args() 77 | 78 | try: 79 | #MPRIS 2.0 Spec http://specifications.freedesktop.org/mpris-spec/latest/index.html 80 | player = dbus.SessionBus().get_object('org.mpris.MediaPlayer2.' + args.player, '/org/mpris/MediaPlayer2') 81 | metadata = player.Get('org.mpris.MediaPlayer2.Player', 'Metadata', 82 | dbus_interface='org.freedesktop.DBus.Properties') 83 | running = True 84 | except dbus.exceptions.DBusException: 85 | running = False 86 | 87 | if args.running: 88 | print("yes" if running else "no") 89 | if not running: 90 | print("Not found") 91 | else: 92 | if args.artist: 93 | print(fmt_field('Artist', 94 | metadata['xesam:artist'][0] if 'xesam:artist' in metadata else 'Unknown', 95 | args.conkyalignr, args.width)) 96 | if args.title: 97 | print(fmt_field('Title', 98 | metadata['xesam:title'] if 'xesam:title' in metadata else 'Unknown', args.conkyalignr, args.width)) 99 | if args.album: 100 | print(fmt_field('Album', 101 | metadata['xesam:album'] if 'xesam:album' in metadata else 'Unknown', args.conkyalignr, args.width)) 102 | if args.genre: 103 | print(fmt_field('Genre', 104 | metadata['xesam:genre'][0] if 'xesam:genre' in metadata else 'Unknown', args.conkyalignr, args.width)) 105 | if args.year: 106 | print(fmt_field('Year', 107 | metadata['xesam:contentCreated'][:3] if 'xesam:contentCreated' in metadata else 'Unknown', 108 | args.conkyalignr, args.width)) 109 | if args.track: 110 | print(fmt_field('Track', 111 | metadata['xesam:trackNumber'] if 'xesam:trackNumber' in metadata else 'Unknown', 112 | args.conkyalignr, args.width)) 113 | if args.elapsed: 114 | print(fmt_field('Elapsed', fmt_time(player.Get('org.mpris.MediaPlayer2.Player', 'Position', 115 | dbus_interface='org.freedesktop.DBus.Properties')), args.conkyalignr, args.width)) 116 | if args.length: 117 | print(fmt_field('Length', 118 | fmt_time(metadata['mpris:length']) if 'mpris:length' in metadata else 'Unknown', 119 | args.conkyalignr, args.width)) 120 | if args.progress: 121 | if 'mpris:length' in metadata and metadata['mpris:length'] != 0: 122 | print(int(player.Get('org.mpris.MediaPlayer2.Player', 'Position', 123 | dbus_interface='org.freedesktop.DBus.Properties')*100/metadata['mpris:length'])) 124 | else: 125 | print('Unknown') 126 | if args.cover is not None: 127 | if 'mpris:artUrl' in metadata: 128 | location = metadata['mpris:artUrl'][7:] 129 | subprocess.call(['ln', '-sf', location, args.cover]) 130 | elif args.cover_default is not None: 131 | subprocess.call(['ln', '-sf', args.cover_default, args.cover]) 132 | if args.action is not None: 133 | try: 134 | interface = dbus.Interface(player, dbus_interface='org.mpris.MediaPlayer2.Player') 135 | if args.action == 'next': 136 | interface.Next() 137 | elif args.action == 'prev': 138 | interface.Previous() 139 | elif args.action == 'pause': 140 | interface.Pause() 141 | elif args.action == 'play': 142 | interface.Play() 143 | elif args.action == 'playpause': 144 | interface.PlayPause() 145 | elif args.action == 'volup' or args.action == 'voldown': 146 | volume = player.Get('org.mpris.MediaPlayer2.Player', 'Volume', 147 | dbus_interface='org.freedesktop.DBus.Properties') 148 | volume += 0.1 if args.action == 'volup' else -0.1 149 | player.Set('org.mpris.MediaPlayer2.Player', 'Volume', volume, 150 | dbus_interface='org.freedesktop.DBus.Properties') 151 | except: 152 | pass 153 | -------------------------------------------------------------------------------- /mediaplayer_rc: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | font = 'sans:size=10', 4 | --xftfont sans:size=10 5 | use_xft = true, 6 | xftalpha = 0.9, 7 | update_interval = 2, 8 | total_run_times = 0, 9 | own_window = true, 10 | own_window_type = 'dock', 11 | --own_window_transparent yes 12 | own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 13 | own_window_argb_visual = true, 14 | own_window_argb_value = 180, 15 | own_window_colour = '#224466', 16 | double_buffer = true, 17 | minimum_width = 225, minimum_height = 120, 18 | --maximum_size 220 19 | draw_shades = false, 20 | draw_outline = false, 21 | draw_borders = false, 22 | draw_graph_borders = true, 23 | default_color = '#101010', 24 | default_shade_color = '#101010', 25 | alignment = 'top_left', 26 | gap_x = 40,--320 27 | gap_y = 353,--510 28 | no_buffers = true, 29 | cpu_avg_samples = 1, 30 | uppercase = false, 31 | border_inner_margin = 15, 32 | default_bar_width = 144, default_bar_height = 6, 33 | 34 | --colors 35 | color1 = '#96A0DF', 36 | color2 = '#aaa', 37 | color3 = '#ddd', 38 | 39 | }; 40 | 41 | conky.text = [[ 42 | ${color1}${font Oswald:size=10:bold}MEDIA PLAYER ${color2} ${hr 2} 43 | ${if_match "${execi 10 python3 INSERT_PATH/conky-cards/mediaplayer.py clementine -i}"=="yes"} 44 | ${color3}${font Anitpasto:size=9}${execpi 4 python3 INSERT_PATH/conky-cards/mediaplayer.py clementine -tamlr -w 45} 45 | ${if_match "${execi 4 python3 INSERT_PATH/conky-cards/mediaplayer.py -p}"=="Unknown"}\ 46 | Progress: ${alignr}Unknown 47 | ${else}\ 48 | Progress:${alignr}${color1}${execibar 4 python3 INSERT_PATH/conky-cards/mediaplayer.py clementine -p} 49 | ${endif}\ 50 | ${else} 51 | ${color3}${font Open Sans:size=9}Not Running\ 52 | ${endif} 53 | ]]; 54 | -------------------------------------------------------------------------------- /memory_rc: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | font = 'sans:size=10', 4 | --xftfont sans:size=10 5 | use_xft = true, 6 | xftalpha = 0.9, 7 | update_interval = 2, 8 | imlib_cache_size = 0, 9 | total_run_times = 0, 10 | own_window = true, 11 | own_window_type = 'dock', 12 | --own_window_transparent yes 13 | own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 14 | own_window_argb_visual = true, 15 | own_window_argb_value = 180, 16 | own_window_colour = '#224466', 17 | double_buffer = true, 18 | minimum_width = 225, 19 | draw_shades = false, 20 | draw_outline = false, 21 | draw_borders = false, 22 | draw_graph_borders = true, 23 | default_color = '#101010', 24 | default_shade_color = '#101010', 25 | default_outline_color = 'green', 26 | alignment = 'top_left', 27 | gap_x = 600, 28 | gap_y = 200, 29 | no_buffers = true, 30 | cpu_avg_samples = 1, 31 | uppercase = false, 32 | border_inner_margin = 15, 33 | 34 | --colors 35 | color1 = '#96A0DF', 36 | color2 = '#aaa', 37 | color3 = '#ddd', 38 | 39 | }; 40 | 41 | conky.text = [[ 42 | ${color1}${font Oswald:size=10:bold}MEMORY ${color2} ${hr 2} 43 | 44 | ${color3}${font Open Sans:size=9}Ram: ${memperc}% ${alignr}${color1}${membar 5,140} 45 | ${color3}${font Open Sans:pixelsize=9}${alignc 49}${mem} / ${memmax} 46 | ${color3}${font Open Sans:size=9}Top process: ${alignr}${top_mem name 1} : ${top_mem mem 1} 47 | ${color3}${font Open Sans:size=9}Swap: ${swapperc}% ${alignr}${color1}${swapbar 5,140} 48 | ${color3}${font Open Sans:pixelsize=9}${alignc 49}${swap} / ${swapmax}]]; 49 | -------------------------------------------------------------------------------- /network_rc: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | font = 'sans:size=10', 4 | --xftfont sans:size=10 5 | use_xft = true, 6 | xftalpha = 0.9, 7 | update_interval = 1, 8 | imlib_cache_size = 0, 9 | total_run_times = 0, 10 | own_window = true, 11 | own_window_type = 'dock', 12 | --own_window_transparent yes 13 | own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 14 | own_window_argb_visual = true, 15 | own_window_argb_value = 180, 16 | own_window_colour = '#224466', 17 | double_buffer = true, 18 | minimum_width = 225, minimum_height = 100, 19 | draw_shades = false, 20 | draw_outline = false, 21 | draw_borders = false, 22 | draw_graph_borders = true, 23 | default_color = '#101010', 24 | default_shade_color = '#101010', 25 | alignment = 'top_left', 26 | gap_x = 40,--320 27 | gap_y = 530,--353 28 | no_buffers = true, 29 | cpu_avg_samples = 1, 30 | uppercase = false, 31 | border_inner_margin = 15, 32 | if_up_strictness = 'link', 33 | 34 | --colors 35 | color1 = '#96A0DF', 36 | color2 = '#aaa', 37 | color3 = '#ddd', 38 | 39 | }; 40 | 41 | conky.text = [[ 42 | ${color1}${font Oswald:size=10:bold}NETWORK ${color2} ${hr 2} 43 | ${if_up wlp3s0} 44 | ${color3}${font Open Sans:size=9}Down: ${downspeed wlp3s0}/s ${alignr}Up: ${upspeed wlp3s0} /s 45 | ${color1}${color1}${downspeedgraph wlp3s0 20,90 444444 eeeeee} ${alignr}${color1}${upspeedgraph wlp3s0 20,90 444444 eeeeee} 46 | ${color3} Total: ${totaldown wlp3s0} ${alignr}Total: ${totalup wlp3s0} 47 | ${else}${if_up enp0s20u1} 48 | ${color3}${font Open Sans:size=9}Down: ${downspeed enp0s20u1}/s ${alignr}Up: ${upspeed enp0s20u1} /s 49 | ${color1}${color1}${downspeedgraph enp0s20u1 20,90 444444 eeeeee} ${alignr}${color1}${upspeedgraph enp0s20u1 20,90 444444 eeeeee} 50 | ${color3} Total: ${totaldown enp0s20u1} ${alignr}Total: ${totalup enp0s20u1} 51 | ${endif}]]; 52 | -------------------------------------------------------------------------------- /processes_rc: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | font = 'sans:size=10', 4 | --xftfont sans:size=10 5 | use_xft = true, 6 | xftalpha = 0.9, 7 | update_interval = 2, 8 | imlib_cache_size = 0, 9 | total_run_times = 0, 10 | own_window = true, 11 | own_window_type = 'dock', 12 | --own_window_transparent yes 13 | own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 14 | own_window_argb_visual = true, 15 | own_window_argb_value = 180, 16 | own_window_colour = '#224466', 17 | double_buffer = true, 18 | minimum_width = 225, 19 | draw_shades = false, 20 | draw_outline = false, 21 | draw_borders = false, 22 | draw_graph_borders = true, 23 | default_color = '#101010', 24 | default_shade_color = '#101010', 25 | alignment = 'top_left', 26 | gap_x = 320, 27 | gap_y = 350, 28 | no_buffers = true, 29 | cpu_avg_samples = 1, 30 | uppercase = false, 31 | border_inner_margin = 15, 32 | 33 | --colors 34 | color1 = '#96A0DF', 35 | color2 = '#aaa', 36 | color3 = '#ddd', 37 | 38 | }; 39 | 40 | conky.text = [[ 41 | ${color1}${font Oswald:size=10:bold}PROCESSES ${color2} ${hr 2} 42 | ${color3}${font Open Sans:size=9} 43 | CPU Clock Speed: ${alignr}${freq_g} GHz 44 | Total Processes: ${alignr}$processes ($running_processes running) 45 | ${color3}CPU : ${cpu cpu0}% ${alignr}${color1}${cpubar cpu0 6,140} 46 | ${color3}CPU1: ${cpu cpu1}% ${alignr}${color1}${cpubar cpu1 6,140} 47 | ${color3}CPU2: ${cpu cpu2}% ${alignr}${color1}${cpubar cpu2 6,140} 48 | ${color3}CPU3: ${cpu cpu3}% ${alignr}${color1}${cpubar cpu3 6,140} 49 | ${color3}CPU4: ${cpu cpu3}% ${alignr}${color1}${cpubar cpu4 6,140} 50 | 51 | ${color3}Top Processes: 52 | ${font Open Sans:pixelsize=9}Name: $alignr PID CPU MEM 53 | ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1} 54 | ${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2} 55 | ${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3} 56 | ${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4} 57 | ${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5} 58 | ]]; 59 | -------------------------------------------------------------------------------- /screenshots/screenshot1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amhndu/conky-cards/7af1849676ac0b223055795146f4e34997d35bf9/screenshots/screenshot1.jpg -------------------------------------------------------------------------------- /screenshots/screenshot2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amhndu/conky-cards/7af1849676ac0b223055795146f4e34997d35bf9/screenshots/screenshot2.jpg -------------------------------------------------------------------------------- /system_rc: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | font = 'sans:size=10', 4 | --xftfont sans:size=10 5 | use_xft = true, 6 | xftalpha = 0.9, 7 | update_interval = 2, 8 | imlib_cache_size = 0, 9 | total_run_times = 0, 10 | own_window = true, 11 | own_window_type = 'dock', 12 | --#own_window_transparent yes 13 | own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 14 | own_window_argb_visual = true, 15 | own_window_argb_value = 180, 16 | own_window_colour = '#224466', 17 | double_buffer = true, 18 | minimum_width = 225, 19 | draw_shades = false, 20 | draw_outline = false, 21 | draw_borders = false, 22 | draw_graph_borders = true, 23 | default_color = '#101010', 24 | default_shade_color = '#101010', 25 | alignment = 'top_left', 26 | gap_x = 40, 27 | gap_y = 200, 28 | no_buffers = true, 29 | cpu_avg_samples = 1, 30 | uppercase = false, 31 | border_inner_margin = 15, 32 | 33 | --colors 34 | color1 = '#96A0DF', 35 | color2 = '#aaa', 36 | color3 = '#ddd', 37 | 38 | }; 39 | 40 | conky.text = [[ 41 | ${color1}${font Oswald:size=10:bold}SYSTEM ${color2} ${hr 2} 42 | ${color3}${font Open Sans:size=9} 43 | Hostname: $alignr$nodename 44 | Distribution: $alignr${exec cat /etc/issue.net} 45 | Kernel: $alignr$kernel 46 | Uptime: $alignr$uptime]]; 47 | -------------------------------------------------------------------------------- /time_rc: -------------------------------------------------------------------------------- 1 | conky.config = { 2 | background = false, 3 | font = 'sans:size=10', 4 | --xftfont sans:size=10 5 | use_xft = true, 6 | xftalpha = 0.9, 7 | update_interval = 2, 8 | imlib_cache_size = 0, 9 | total_run_times = 0, 10 | own_window = true, 11 | own_window_type = 'dock', 12 | --#own_window_transparent yes 13 | own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', 14 | own_window_argb_visual = true, 15 | 16 | -- Uncomment and adjust the line below for window's opacity 17 | own_window_argb_value = 180, 18 | own_window_colour = '#224466', 19 | double_buffer = true, 20 | minimum_width = 225, 21 | draw_shades = false, 22 | draw_outline = false, 23 | draw_borders = false, 24 | draw_graph_borders = true, 25 | default_color = '#101010', 26 | default_shade_color = '#101010', 27 | alignment = 'top_left', 28 | gap_x = 40, 29 | gap_y = 40, 30 | no_buffers = true, 31 | cpu_avg_samples = 1, 32 | uppercase = false, 33 | border_inner_margin = 15, 34 | 35 | --colors 36 | color1 = '#96A0DF', 37 | color2 = '#aaa', 38 | color3 = '#ddd', 39 | 40 | }; 41 | 42 | conky.text = [[ 43 | ${color1}${font Oswald:size=10:bold}TIME ${color2} ${hr 2} ${color3}${font} 44 | ${color3}${font Roboto:pixelsize=70}${alignr}${time %I:%M}${font} 45 | ${color3}${font Open Sans:pixelsize=11}${alignr}${time %x}${font}]]; 46 | --------------------------------------------------------------------------------