Added conky config

Author Mitja Felicijan <mitja.felicijan@gmail.com> 2025-07-16 17:54:40 +0200
Committer Mitja Felicijan <mitja.felicijan@gmail.com> 2025-07-16 17:54:40 +0200
Commit e5f850a743cbcad6875b0d3a73e73828a99bdd98 (patch)
-rw-r--r-- .conkyrc 71
-rwxr-xr-x .shenanigans.sh 5
2 files changed, 73 insertions, 3 deletions
diff --git a/.conkyrc b/.conkyrc
  
1
conky.config = {
  
2
    alignment = 'top_right',
  
3
    background = false,
  
4
    border_width = 0,
  
5
    cpu_avg_samples = 2,
  
6
    default_color = 'white',
  
7
    default_outline_color = 'white',
  
8
    default_shade_color = 'white',
  
9
    double_buffer = true,
  
10
    draw_borders = false,
  
11
    draw_graph_borders = true,
  
12
    draw_outline = false,
  
13
    draw_shades = false,
  
14
    extra_newline = false,
  
15
    font = 'DejaVu Sans Mono:size=12',
  
16
    gap_x = 20,
  
17
    gap_y = 60,
  
18
    net_avg_samples = 2,
  
19
    no_buffers = true,
  
20
    out_to_console = false,
  
21
    out_to_ncurses = false,
  
22
    out_to_stderr = false,
  
23
    out_to_wayland = false,
  
24
    out_to_x = true,
  
25
    own_window = true,
  
26
    own_window_class = 'Conky',
  
27
    own_window_type = 'normal',
  
28
    own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
  
29
    show_graph_range = false,
  
30
    show_graph_scale = false,
  
31
    stippled_borders = 0,
  
32
    update_interval = 1.0,
  
33
    uppercase = false,
  
34
    use_spacer = 'none',
  
35
    use_xft = true,
  
36
	minimum_width = 400,
  
37
}
  
38
  
  
39
conky.text = [[
  
40
${color grey}Uptime${alignr}$color $uptime
  
41
${color grey}Kernel${alignr}$color $kernel
  
42
${color grey}Frequency${alignr}$color $freq_g GHz
  
43
${color grey}CPU Temp${alignr}$color ${exec sensors | grep 'Package id 0:' | awk '{print $4}' | sed 's/+//'}
  
44
${color grey}GPU Temp${alignr}$color ${exec nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader}°C
  
45
  
  
46
${color grey}Net Up: ${upspeed enp5s0}${alignr}Net Down: ${downspeed enp5s0}$color
  
47
${upspeedgraph enp5s0 20,190 ff0000}${alignr}${downspeedgraph enp5s0 20,190 00ff00}
  
48
  
  
49
${color grey}CPU Usage${alignr}$color $cpu%
  
50
${cpubar 10}
  
51
${cpubar cpu0 10,40}${offset 4}${cpubar cpu1 10,40}${offset 4}${cpubar cpu2 10,40}${offset 4}${cpubar cpu3 10,40}${offset 4}${cpubar cpu4 10,40}${offset 4}${cpubar cpu5 10,40}${offset 4}${cpubar cpu6 10,40}${offset 4}${cpubar cpu7 10,40}${offset 4}${cpubar cpu8 10,40}${offset 4}${cpubar cpu9 10,40}
  
52
${cpubar cpu10 10,40}${offset 4}${cpubar cpu11 10,40}${offset 4}${cpubar cpu12 10,40}${offset 4}${cpubar cpu13 10,40}${offset 4}${cpubar cpu14 10,40}${offset 4}${cpubar cpu15 10,40}${offset 4}${cpubar cpu16 10,40}${offset 4}${cpubar cpu17 10,40}${offset 4}${cpubar cpu18 10,40}${offset 4}${cpubar cpu19 10,40}
  
53
  
  
54
${color grey}RAM Usage${alignr}$color $mem/$memmax - $memperc%
  
55
${membar 10}
  
56
  
  
57
${color grey}File systems${alignr}$color${fs_used /}/${fs_size /} - ${fs_used_perc /}%
  
58
${fs_bar 10 /}
  
59
  
  
60
${color grey}World Clocks
  
61
${color grey} New York${alignr}${tztime America/New_York %H:%M}
  
62
${color grey} Brisbane${alignr}${tztime Australia/Brisbane %H:%M}
  
63
${color grey} San Francisco${alignr}${tztime America/Los_Angeles %H:%M}
  
64
  
  
65
${color grey}Process                   PID    CPU%   MEM%
  
66
${color lightgrey} ${top name 1}      ${top pid 1} ${top cpu 1} ${top mem 1}
  
67
${color lightgrey} ${top name 2}      ${top pid 2} ${top cpu 2} ${top mem 2}
  
68
${color lightgrey} ${top name 3}      ${top pid 3} ${top cpu 3} ${top mem 3}
  
69
${color lightgrey} ${top name 4}      ${top pid 4} ${top cpu 4} ${top mem 4}
  
70
${color lightgrey} ${top name 5}      ${top pid 5} ${top cpu 5} ${top mem 5}
  
71
]]
diff --git a/.shenanigans.sh b/.shenanigans.sh
1
# Software list (Void Linux):
1
# Software list (Void Linux):
2
#   void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree
2
#   void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree
3
#   file-roller xfce4-screenshooter xfce4-plugins xsetroot thunar-archive-plugin
3
#   file-roller xfce4-screenshooter xfce4-plugins xsetroot thunar-archive-plugin
4
#   clang clang-tools-extra vim stow git curl tmux hstr tree make cmake xclip
4
#   clang clang-tools-extra vim stow git curl tmux hstr tree make cmake xclipi jq
5
#   entr ack lazygit newsboat htop mc mpv cifs-utils zip rsync python3-pipx jq
5
#   entr ack lazygit newsboat htop mc mpv cifs-utils zip rsync python3-pipx jq conky
6
# Additonal stuff:
6
# Additonal stuff:
7
#   pipx install pyright
7
#   pipx install pyright
8
#   go install golang.org/x/tools/gopls@latest
8
#   go install golang.org/x/tools/gopls@latest
...
25
	alias ll='ls -lha'
25
	alias ll='ls -lha'
26
	alias t='tree -L 2'
26
	alias t='tree -L 2'
27
	alias ..='cd ..'
27
	alias ..='cd ..'
28
	alias grep='grep -irn --color=always'
  
29
	alias less='less -R'
28
	alias less='less -R'
30
	alias tmux='tmux -u'
29
	alias tmux='tmux -u'
31
	alias server='python3 -m http.server 6969'
30
	alias server='python3 -m http.server 6969'
...