Conky Mods

Forum Forums antiX-development Graphics Conky Mods

Tagged: 

  • This topic has 36 replies, 7 voices, and was last updated Jun 1-11:08 pm by BobC.
Viewing 7 posts - 31 through 37 (of 37 total)
  • Author
    Posts
  • #9905
    Member
    ohhohh

    Howdy sleekmason,

    Here’s pretty much the final version, I opted to no, on transparency, so you could see the text plainly. I will add the conky files if you are interested. Still working on a weather conky will be a few days though.

    Here are the files: I put them as a tar for space considerations.
    In order to run both conky’s, note changes to ~/.desktop-session –> desktop-session.conf –> change LOAD_CONKY=”true” to “false” and edit
    the ~/.deskstop-session startup file adding: of course substitute your user name 🙂 and path

    #start Conky from ~/home/ohh/conky_files
    sleep 10
    conky -c ~/conky_files/conky_right &
    conky -c ~/conky_files/conky_left1

    also modifiy /usr/local/bin/conkytoggle.sh so it is same as above, again with your path and username

    if pidof conky | grep [0-9] > /dev/null
     then
      killall conky 
     else
      conky -c ~/conky_files/conky_right &
      conky -c ~/conky_files/conky_left1 
    fi

    cheers,
    ohh

    • This reply was modified 2 years, 11 months ago by ohh. Reason: ins
    • This reply was modified 2 years, 11 months ago by ohh. Reason: add info
    • This reply was modified 2 years, 11 months ago by ohh. Reason: omission

    Every matter requires prior knowledge.

    - Du Mu
    The Art of War

    #9914
    Member
    sleekmasonsleekmason

    I will add the conky files if you are interested.

    Yes please:)

    #9923
    Member
    ohhohh

    sleekmason added in above post 9905

    cheers,
    ohh

    Every matter requires prior knowledge.

    - Du Mu
    The Art of War

    #9932
    Member
    sleekmasonsleekmason

    Howdy ohh

    I think you missed the 4_Moon file?

    *edit – I grabbed it from the site:)

    • This reply was modified 2 years, 11 months ago by sleekmason.
    #9939
    Member
    sleekmasonsleekmason

    This is pretty cool!

    Attachments:
    #9948
    Member
    ohhohh

    sleekmason,

    Thank you, I did forget that one, 🙂 is now posted in original post in case anyone else is interested.

    cheers,
    ohh

    Every matter requires prior knowledge.

    - Du Mu
    The Art of War

    #22392
    Moderator
    AvatarBobC

    Adding my newest, antiX19a2 screenshot and conky. Thanks to help from many. Each marked section of lines should be copyable, as with exception of the wallpaper control, its usung all standard antiX stuff.

    
    # Standard antiX .conkyrc file
    #
    text_buffer_size 8000
    
    # Note: delete the line above to disable automatic scaling with DPI
    # on the live system.
    
    # set to yes if you want Conky to be forked in the background
    background yes
    
    short_units yes
    
    cpu_avg_samples 1
    net_avg_samples 1
    
    out_to_console no
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 7x12
    #font 6x10
    #font 7x13
     font 8x12
    #font 7x12
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    #xftfont gentium:size=12
    #ftfont DejaVu Sans:size=10
    xftfont DejaVu Sans:bold:size=9
    #xftfont DejaVu Sans:size=9
    
    # Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar
    own_window_type override
    
    # Text alpha when using Xft
    xftalpha 1.0
    
    #on_bottom no
    
    # mail spool
    mail_spool $MAIL
    
    # Update interval in seconds
    update_interval 1
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 900
    maximum_width 250
    
    # Draw shades?
    draw_shades no
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders 0
    
    # border margins
    #border_margin 10
    
    # border width
    border_width 2
    
    # Default colors and also border colors
    default_color white
    default_shade_color white
    default_outline_color white
    
    color2 ffffff
    color3 FF00AB
    color4 yellow
    color8 77ccff
    color9 5599cc
    
    # Text alignment, other possible values are commented
    # alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    
    # Gap between borders of screen and text
    
    gap_x 20
    gap_y 40
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer right
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # if_up_strictness link:  up | link | address
    if_up_strictness address
    
    # set to yes if you want all text to be in uppercase
    uppercase no
    
    # boinc (seti) dir
    # seti_dir /opt/seti
    
    # Possible variables to be used:
    #
    #      Variable         Arguments                  Description                
    #  acpiacadapter                     ACPI ac adapter state.                   
    #  acpifan                           ACPI fan state                           
    #  acpitemp                          ACPI temperature.                        
    #  adt746xcpu                        CPU temperature from therm_adt746x       
    #  adt746xfan                        Fan speed from therm_adt746x             
    #  battery           (num)           Remaining capasity in ACPI or APM        
    #                                    battery. ACPI battery number can be      
    #                                    given as argument (default is BAT0).     
    #  buffers                           Amount of memory buffered                
    #  cached                            Amount of memory cached                  
    #  color             (color)         Change drawing color to color            
    #  cpu                               CPU usage in percents                    
    #  cpubar            (height)        Bar that shows CPU usage, height is      
    #                                    bar's height in pixels                   
    #  downspeed         net             Download speed in kilobytes              
    #  downspeedf        net             Download speed in kilobytes with one     
    #                                    decimal                                  
    #  exec              shell command   Executes a shell command and displays    
    #                                    the output in torsmo. warning: this      
    #                                    takes a lot more resources than other    
    #                                    variables. I'd recommend coding wanted   
    #                                    behaviour in C and posting a patch :-).  
    #  execi             interval, shell Same as exec but with specific interval. 
    #                    command         Interval can't be less than              
    #                                    update_interval in configuration.        
    #  fs_bar            (height), (fs)  Bar that shows how much space is used on 
    #                                    a file system. height is the height in   
    #                                    pixels. fs is any file on that file      
    #                                    system.                                  
    #  fs_free           (fs)            Free space on a file system available    
    #                                    for users.                               
    #  fs_free_perc      (fs)            Free percentage of space on a file       
    #                                    system available for users.              
    #  fs_size           (fs)            File system size                         
    #  fs_used           (fs)            File system used space                   
    #  hr                (height)        Horizontal line, height is the height in 
    #                                    pixels                                   
    #  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
    #                                    may be omitted if you have only one I2C  
    #                                    device. type is either in (or vol)       
    #                                    meaning voltage, fan meaning fan or temp 
    #                                    meaning temperature. n is number of the  
    #                                    sensor. See /sys/bus/i2c/devices/ on     
    #                                    your local computer.                     
    #  kernel                            Kernel version                           
    #  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
    #                                    minute, 2 for past 5 minutes and 3 for   
    #                                    past 15 minutes.                         
    #  machine                           Machine, i686 for example                
    #  mails                             Mail count in mail spool. You can use    
    #                                    program like fetchmail to get mails from 
    #                                    some server using your favourite         
    #                                    protocol. See also new_mails.            
    #  mem                               Amount of memory in use                  
    #  membar            (height)        Bar that shows amount of memory in use   
    #  memmax                            Total amount of memory                   
    #  memperc                           Percentage of memory in use              
    #  new_mails                         Unread mail count in mail spool.         
    #  nodename                          Hostname                                 
    #  outlinecolor      (color)         Change outline color                     
    #  pre_exec          shell command   Executes a shell command one time before 
    #                                    torsmo displays anything and puts output 
    #                                    as text.                                 
    #  processes                         Total processes (sleeping and running)   
    #  running_processes                 Running processes (not sleeping),        
    #                                    requires Linux 2.6                       
    #  shadecolor        (color)         Change shading color                     
    #  stippled_hr       (space),        Stippled (dashed) horizontal line        
    #                    (height)        
    #  swapbar           (height)        Bar that shows amount of swap in use     
    #  swap                              Amount of swap in use                    
    #  swapmax                           Total amount of swap                     
    #  swapperc                          Percentage of swap in use                
    #  sysname                           System name, Linux for example           
    #  time              (format)        Local time, see man strftime to get more 
    #                                    information about format                 
    #  totaldown         net             Total download, overflows at 4 GB on     
    #                                    Linux with 32-bit arch and there doesn't 
    #                                    seem to be a way to know how many times  
    #                                    it has already done that before torsmo   
    #                                    has started.                             
    #  totalup           net             Total upload, this one too, may overflow 
    #  updates                           Number of updates (for debugging)        
    #  upspeed           net             Upload speed in kilobytes                
    #  upspeedf          net             Upload speed in kilobytes with one       
    #                                    decimal                                  
    #  uptime                            Uptime                                   
    #  uptime_short                      Uptime in a shorter format               
    #
    #  seti_prog                         Seti@home current progress
    #  seti_progbar      (height)        Seti@home current progress bar
    #  seti_credit                       Seti@hoome total user credit
    
    ## antiX additives examples. Add below Text##
    ##Battery examples##
    ##${color}battery: ${color}$acpiacadapter, ${battery_percent BAT1}% 
    ##${color}battery:${color} ${battery}
    #${color}ACPI Battery: ${color}$battery
    #${battery_bar 11,0}
    ##Wireless example##
    #${color}Wireless:
    #${color}essid: ${wireless_essid wlan0}
    #${color}IP:${color} ${addr wlan0}
    #${color}speed: ${color} ${wireless_bitrate wlan0}
    #${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
    
    # stuff after 'TEXT' will be formatted on screen
    TEXT
    # OS Text
    ${color2}${font SourceSansPro-ExtraLight:size=36:weight:bold}antiX
    # Time
    ###${voffset -20}${color}${font SourceSansPro-ExtraLight:size=20:weight:bold}${alignc}${time %a %d %b}
    # OS Version
    ${voffset -17}${color6}${font}${execi 60000 cat /etc/antix-version}
    # Desktop
    ${voffset 0}${color6}${font}Desktop: ${execi 60000 printenv | grep "^DESKTOP_SESSION_CODE" | sed 's/DESKTOP_SESSION_CODE=//'}
    # Display Res
    ${voffset 0}${color6}${font}Display: ${execi 30 xrandr | grep "*" | awk '{ print $1 }'}
    # Kernel
    ${voffset 0}${color6}${font}$sysname $kernel ${alignr}${execi 60000 lsb_release -a | grep 'Release'|awk {'print $2""$3""$4""$5'}}${color}
    # CPU model
    ${voffset 5}${color6}${font SourceSansPro-ExtraLight:size=12:weight:bold:italic}${execi 60000 cat /proc/cpuinfo | grep -i 'Model name' -m 1 | cut -c14-43}${font SourceSansPro-ExtraLight size=12:weight:bold}${color6}${processes}
    # CPU Temp
    ${voffset 5}${color1}${font SourceSansPro-ExtraLight:size=12:weight:bold:italic}${color4}CPU Temp: ${execi 5 sensors | grep "CPU:" | awk '{ print $2 }'}
    # Top CPU % processes
    ${offset 10}${font SourceSansPro-ExtraLight:size=12:weight:bold}${color1}${top name 1}${alignr}${color6}${top cpu 1}${font}
    ${offset 10}${color1}${top name 2}${alignr}${color6}${top cpu 2}
    ${offset 10}${color1}${top name 3}${alignr}${color6}${top cpu 3}
    ${offset 10}${color1}${top name 4}${alignr}${color6}${top cpu 4}
    ${offset 10}${color1}${top name 5}${alignr}${color6}${top cpu 5}
    # RAM
    ${voffset 5}${color1}${font}Ram ${membar 10,60} ${alignr}${color6}${mem} ${color1}of ${color6}${memmax}
    # Filesystem
    ${offset 0}${color1}Disk ${fs_bar 10,60} ${alignr}${color6}${fs_free}${color} of${color6} ${fs_size}${color}
    # USB Flash Drives
    ${voffset 5}${color6}${font}${execi 5 lsblk -o name,label | grep "sd[c-z]"}
    # Battery
    ${voffset 5}${if_match "${battery_short BAT0}" <= "E"}${if_match "${battery_short BAT0}" >= "D"}${if_match ${battery_percent BAT0} <= 40}\
    ${offset 0}${color3}Battery ${battery_bar 10,150 BAT0} ${alignr}${battery_percent BAT0}%\
    ${else}${offset 0}${color yellow}Battery ${battery_bar 10,150 BAT0} ${alignr}${battery_percent BAT0}%${endif}\
    ${else}${voffset -20}${endif}${endif}
    # Network interface(s)
    ${voffset 10}${if_match "${addr eth0}"!="No Address"}${voffset 0}${color4}${font SourceSansPro-ExtraLight:size=12:weight:bold:italic}Ethernet: ${addr eth0}${else}${voffset -20}${endif}
    ${if_match "${addr wlan0}"!="No Address"}${voffset 0}${color4}${font SourceSansPro-ExtraLight:size=12:weight:bold:italic}WiFi: ${addr wlan0}${else}${voffset -20}${endif}
    #${if_match "${addr ppp0}"!="No Address"}${voffset 0}${color4}${font SourceSansPro-ExtraLight:size=12:weight:bold:italic}DialUp: ${addr ppp0}${else}${voffset -20}${endif}
    ${voffset -5}${color1}${font}${hr 2}
    # Wallpaper Filename and Keyboard Shortcuts
    ${color1}${alignc}--- Wallpaper Info/Keys ---
    ${color4}${font SourceSansPro-ExtraLight:size=10:weight:bold:italic}${execi 5 DISP_WALLPAPER="$(cat /tmp/CURRENT_WALLPAPER)" && echo "$(basename "$DISP_WALLPAPER")"}
    ${color6}${font}\
    Win+D - Delete Wallpaper 
    Win+I - Invert ^v Wallpaper
    Win+K - Keep Wallpaper 1yr
    Win+M - Mirror >< Wallpaper
    Win+N - Next Wallpaper
    ${color1}${hr 2}
    # IceWM Keyboard Shortcuts
    ${color1}${alignc}--- IceWM Keys ---
    ${color6}Win+C   Conky Toggle
    Win+S - Sleep
    Win+KP+ - Vol+
    Win+KP- - Vol-
    Pause - Mute
    Print - Screenshot
    Win+Space - AppFinder
    Ctrl+Esc - Main Menu
    Ctrl+Space - DMenu
    Alt+Tab - Window Selector
    Alt+Esc - Go to Next Window
    Ctrl+Alt+KP1-9 Relocate
    Ctrl+1-9 Resize/Relocate
    Alt+Space - Adjust Window
    Win+B - Browser
    Win+E - Editor
    Win+F - File Manager
    Win+L - Lock Keyboard
    Win+T - Terminal
    #${color1}${hr 2}
    #Alt+F3 - Minimize
    #Alt+F4 - Close
    #Alt+F7 - Move
    #Alt+F8 - Resize
    #Alt+F10 - Maximize
    #Alt+F11 - Fullscreen
    #Alt+F12 - Rollup
    ${voffset 200}
    
    Attachments:
Viewing 7 posts - 31 through 37 (of 37 total)
  • You must be logged in to reply to this topic.