Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### $HOME/.conkyrc
- out_to_x no
- own_window no
- out_to_console yes
- background no
- max_text_width 0
- # Update interval in seconds
- update_interval 2.0
- # This is the number of times Conky will update before quitting.
- # Set to zero to run forever.
- total_run_times 0
- # Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
- short_units yes
- # How strict should if_up be when testing an interface for being up?
- # The value is one of up, link or address, to check for the interface
- # being solely up, being up and having link or being up, having link
- # and an assigned IP address.
- if_up_strictness address
- # Add spaces to keep things from moving about? This only affects certain objects.
- # use_spacer should have an argument of left, right, or none
- use_spacer left
- # Force UTF8? note that UTF8 support required XFT
- override_utf8_locale no
- # number of cpu samples to average
- # set to 1 to disable averaging
- cpu_avg_samples 4
- # Stuff after 'TEXT' will be formatted on screen
- TEXT
- # JSON for i3bar
- [{ "full_text" : " Uptime $uptime_short " , "color" : "\#ffffff" },
- { "full_text" : " RAM ${mem} " , "color" : ${if_match ${memperc}<90}"\#ffffff"${else}"\#ff0000"${endif} },
- { "full_text" : " Load ${loadavg 1} " , "color" : "\#ffffff" },
- { "full_text" : " I/O ${diskio /dev/sda} " , "color" : "\#ffffff" },
- { "full_text" : " $time " , "color" : "\#ffffff" }],
- ### $HOME/.config/i3/conky-i3bar.sh
- #!/bin/sh
- end the header so that i3bar knows we want to use JSON:
- echo '{"version":1}'
- # Begin the endless array.
- echo '['
- # We send an empty first array of blocks to make the loop simpler:
- echo '[],'
- # Now send blocks with information forever:
- exec conky -c $HOME/.conkyrc']'
- ### $HOME/.config/i3/config - bar section
- bar {
- status_command conky ~/.config/i3/conky-i3bar
- position top
- tray_output eDP1
- mode hide
- font pango:anonymous pro for powerline 9, FontAwsome 9
- colors {
- background #002b36
- statusline #839496
- separator #586e75
- focused_workspace #b58900 #b58900 #002b36
- active_workspace #586e75 #586e75 #002b36
- inactive_workspace #073642 #002b36 #839496
- urgent_workspace #dc322f #dc322f #fdf6e3
- }
Add Comment
Please, Sign In to add comment