aboutsummaryrefslogtreecommitdiffstats
path: root/conky
diff options
context:
space:
mode:
authorphilw <dscr@duck.com>2024-02-10 20:00:48 +0100
committerphilw <dscr@duck.com>2024-02-10 20:00:48 +0100
commit51573d35e989d45f047b0b34fd9293be459d346b (patch)
treea59277e4b8c841a196de792e507d635a3db14ba2 /conky
downloaddotfiles-51573d35e989d45f047b0b34fd9293be459d346b.tar.gz
dotfiles-51573d35e989d45f047b0b34fd9293be459d346b.zip
Update dots
Diffstat (limited to 'conky')
-rw-r--r--conky/.conkyrc106
1 files changed, 106 insertions, 0 deletions
diff --git a/conky/.conkyrc b/conky/.conkyrc
new file mode 100644
index 0000000..7b39c8e
--- /dev/null
+++ b/conky/.conkyrc
@@ -0,0 +1,106 @@
1
2conky.config = {
3 background = true, -- forked to background
4 cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring.
5 diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring.
6 double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
7 if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address
8 net_avg_samples = 2, -- The number of samples to average for net data
9 no_buffers = true, -- Subtract (file system) buffers from used memory?
10 temperature_unit = 'celsius', -- fahrenheit or celsius
11 text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
12 update_interval = 1, -- update interval
13 imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song
14
15 alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
16 gap_x = 50, -- pixels between right or left border
17 gap_y = 70, -- pixels between bottom or left border
18
19 -- Setup Window Size
20 minimum_height = 300,
21 minimum_width = 450,
22 maximum_width = 660,
23
24 --Graphical
25 border_inner_margin = 5, -- margin between border and text
26 border_outer_margin = 5, -- margin between border and edge of window
27 border_width = 0, -- border width in pixels
28 default_bar_width = 260, -- default is 0 - full width
29 default_bar_height = 10, -- default is 6
30 default_gauge_height = 25, -- default is 25
31 default_gauge_width =40, -- default is 40
32 default_graph_height = 40, -- default is 25
33 default_graph_width = 153, -- default is 0 - full width
34 default_shade_color = '#000000', -- default shading colour
35 default_outline_color = '#000000', -- default outline colour
36 draw_borders = false, -- draw borders around text
37 draw_graph_borders = true, -- draw borders around graphs
38 draw_shades = false, -- draw shades
39 draw_outline = false, -- draw outline
40 stippled_borders = 0, -- dashing the border
41
42 --Textual
43 format_human_readable = true, -- KiB, MiB rather then number of bytes
44 font = 'Fira Code:size=12', -- the default font used
45 font2 = 'Raleway:bold:size=30', -- font for the time
46 font3 = 'Ubuntu:size=14', -- font for the date
47 font4 = 'Raleway:bold:size=9', -- font for the keybindings heading
48 max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
49 max_user_text = 16384, -- max text in conky default 16384
50 override_utf8_locale = true, -- force UTF8 requires xft
51 short_units = true, -- shorten units from KiB to k
52 top_name_width = 21, -- width for $top name value default 15
53 top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
54 uppercase = false, -- uppercase or not
55 use_spacer = 'none', -- adds spaces around certain objects to align - default none
56 use_xft = true, -- xft font - anti-aliased font
57 xftalpha = 1, -- alpha of the xft font - between 0-1
58
59 --Windows
60 own_window = true, -- create your own window to draw
61 own_window_argb_value = 255, -- real transparency - composite manager required 0-255
62 own_window_argb_visual = true, -- use ARGB - composite manager required
63 own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop
64 own_window_colour = '#282828', -- set colour if own_window_transparent no
65 own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0%
66 own_window_title = 'dwm_conky', -- set the name manually
67 own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel
68 own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
69
70 --Colors (Gruvbox Dark)
71 color0 = '#b16286',
72 color1 = '#ebdbb2',
73 color2 = '#458588',
74 color3 = '#b8bb26',
75
76};
77
78conky.text = [[
79${alignc}${color0}${font2}${time %H:%M}${font}
80${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color}
81${color1}${hr}${color0}
82${color3}Uptime:$color3 $uptime
83${color3}Battery: ${battery_percent BAT0}% ${alignr}${battery_bar 8,70 BAT0}
84${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu%
85${color2}${goto 12}${cpubar 8,254}
86${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}%
87${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}%
88${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}%
89${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax
90${color2}${goto 12}${membar 8,254}${color}
91${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1}
92${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2}
93${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3}
94${color3}Storage: $color3${fs_free /}/${fs_size /}
95${color2}${fs_bar 6 /}
96${color1}${hr}${colo0}
97${voffset 18}${color1}${alignc}${font4}Shortcuts${font}${color}
98${color1}[SUPER]+[RETURN]${alignr}${color2}terminal${color}
99${color1}[SUPER]+b${alignr}${color2}hide bar${color}
100${color1}[SUPER]+d${alignr}${color2}launcher${color}
101${color1}[SUPER]+q${alignr}${color2}kill${color}
102${color1}[SUPER]+[1-9]${alignr}${color2}switch${color}
103${color1}[SUPER]+[SHIFT]+r${alignr}${color2}htop${color}
104${color1}${hr}${color}
105
106]];