first commit

This commit is contained in:
klein panic
2024-09-29 01:05:25 -04:00
commit 2bcc806b8b
670 changed files with 96169 additions and 0 deletions

101
conky/conky.conf Normal file
View File

@@ -0,0 +1,101 @@
print("Loading Conky, with your configs... master wayne")
conky.config = {
-- Conky Settings
background = true,
update_interval = 1.0,
cpu_avg_samples = 2,
net_avg_samples = 2,
double_buffer = true,
no_buffers = true,
-- Window
own_window = true,
own_window_class = 'Conky-Sysinfo',
own_window_title = 'Conky - Sysinfo',
own_window_type = 'normal',
-- Remove "above" and replace it with "below" if you don't want the planel to be always visable
own_window_hints = 'above,skip_taskbar,skip_pager',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 200,
own_window_colour = '#2b363b', -- bluish-gray
-- Size and Placement
xinerama_head = 1, -- Screan Placement
minimum_height = 5,
maximum_width = 250, -- Default is 250
alignment = 'top_left',
gap_x = 20, -- Default is 20
gap_y = 20, -- Default is 20
border_width = 5,
-- Graph settings
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
-- Text
use_xft = true,
uppercase = false,
font = 'DejaVu Sans Mono:size=12',
default_color = 'white',
use_spacer = 'none',
}
conky.text = [[
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}
$hr
${color grey}Date:${alignr}${color} ${time %d-%m-%Y}
${color grey}Time:${alignr}${color} ${time %T}
${voffset -13}
${color grey}Uptime:${alignr}${color} $uptime
${voffset -13}
${color orange}CPU ${hr}
${color grey}Frequency:${alignr}${color} $freq Mhz
${color grey}Temp:${alignr}${color} ${acpitemp}°c
${color grey}Usage:${color} ${cpu}% ${goto 115}${cpubar}
${color grey}${cpugraph 00FF00 FF0000 -t}
${color orange}File System ${hr}
${color}/home ${alignr}${color}${fs_used /home}/${fs_size /home}
${fs_used_perc /home}% ${goto 45}${fs_bar /home}
${voffset -13}
${color orange}Memory ${hr}
${color}Ram${alignr}${color} $mem/$memmax
${color}$memperc% ${goto 45}${membar}
${voffset -13}
${color}Swap${alignr}${color} $swap/$swapmax
${color}$swapperc% ${goto 45}${swapbar}
${voffset -13}
${color orange}Networking ${hr}
${color grey}SSID: ${color}${wireless_essid wlp0s20f3}
${color lightblue}${font FontAwesome} ${font}${color lightblue}${downspeed wlp0s20f3}/s${goto 136}${color lightgreen}${font FontAwesome} ${font}${color lightgreen}${upspeed wlp0s20f3}/s
${color lightblue}${downspeedgraph wlp0s20f3 45,122 95ec8b FF0000 -t}${offset 6}${color lightgreen}${upspeedgraph wlp0s20f3 45,122 95ec8b FF0000 -t}
${color orange}${hr}
${color grey}Name
${color lightgrey}${top name 1}${top mem 1}
${color lightgrey}${top name 2}${top mem 2}
${color lightgrey}${top name 3}${top mem 3}
${color lightgrey}${top name 4}${top mem 4}
]]

72
conky/conky.conf.bak Normal file
View File

@@ -0,0 +1,72 @@
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
conky.config = {
alignment = 'top_right',
background = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=12',
gap_x = 60,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
}
conky.text = [[
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed}
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]

100
conky/conky.conf.bak.3 Normal file
View File

@@ -0,0 +1,100 @@
conky.config = {
alignment = 'top_right',
background = false,
border_width = 0.5,
cpu_avg_samples = 4,
default_color = 'white',
default_outline_color = 'grey',
default_shade_color = 'black',
draw_borders = true,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=10',
gap_x = 30,
gap_y = 60,
maximum_width = 200,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_colour = '000000',
own_window_class = 'Conky',
own_window_argb_visual = true,
own_window_type = 'dock',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
update_interval = 1,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.text = [[
$color${font}${font Open Sans:size=44}$alignr${time %H:%M}$font$color${font Open Sans:size=15}
$alignr${time %a}, ${time %d %b %Y}$font$color
# ASHFAK
${font Open Sans:Bold:size=16}${color 4C7523} ASHFAK
# SYS
${font Open Sans:Bold:size=10}${color 4C7523}SYSTEM ${hr 2}$color${font}${offset 1}
Kernel $alignr $kernel
Uptime $alignr $uptime
# Intel Core i7-7000HQ
${font Open Sans:Bold:size=10}${color 4C7523}i7-7000-7th ${hr 2}$color${font}${offset 1}
$color${font}Usage $alignr $cpu %
Temperature $alignr ${acpitemp}°C
Core 1:
${cpubar cpu1 6,160} ${cpu cpu1}%
Core 2:
${cpubar cpu2 6,160} ${cpu cpu2}%
${font Open Sans:Bold:size=10}${color 4C7523}CPU utilisation$alignr ${cpu cpu0}% ${hr 2}$color${font}${offset 1}
${cpubar cpu0}
${cpugraph 000000 ffffff}
# RAM
${font Open Sans:Bold:size=10}${color 4C7523}RAM ${hr 2}$color${font}${offset 1}
Total $alignr $memmax
In use $alignr $mem
Free $alignr $memeasyfree
Buffers $alignr $buffers
Cache $alignr $cached
# PROCESSES
${font Open Sans:Bold:size=10}${color 4C7523}PROCESSES ${hr 2}$color${font}${offset 1}
$color${font Open Sans:bold:size=8}CPU$font
${offset 15}${font Noto sans:size=8}${color EDE0FF}Name ${alignr}PID CPU% MEM%
${offset 15}${color FF7878}${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${offset 15}${color FF7878}${top name 2} ${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${offset 15}${color FF7878}${top name 3} ${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${offset 15}${color FF7878}${top name 4} ${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${offset 15}${color FF7878}${top name 5} ${alignr}${top pid 5} ${top cpu 5} ${top mem 5}
# SSD seagate M. 1TB
${font Open Sans:Bold:size=10}${color 4C7523}SSD seagate 1TB ${hr 2}$color${font}${offset 1}
${offset 4}${color FFFDE2}home (${fs_type /home}) $color${fs_bar 4 /home/}
${offset 4}Total: ${fs_size /home/}
${offset 4}Free: ${fs_free /home/}
${offset 4}Used: ${fs_used /home/}
${font Open Sans:Bold:size=10}${color 4C7523}NETWORK ${hr 2}$color${font}${offset 1}
${color1}WiFi Net Down:${color} ${downspeed wlan0}
${color1}${downspeedgraph wlan0 60,180 07CC0D FF0000 -t}${color1}
${color1}LAN Net Down:${color} ${downspeed enp0s31f6 }
${color1}${downspeedgraph enp0s31f6 60,180 07CC0D FF0000 -t}${color1}
${goto 270}${color1}Net Up:${color} ${upspeed wlan0}
${goto 270}${upspeedgraph wlan0 60,250 07CC0D FF0000 -t}
${goto 270}${color1}Net Up:${color} ${upspeed enp0s31f6}
${goto 270}${upspeedgraph enp0s31f6 60,250 07CC0D FF0000 -t}
]]

72
conky/conky.conf.bak2 Normal file
View File

@@ -0,0 +1,72 @@
conky.config = {
alignment = 'top_right',
background = true,
border_width = 1,
cpu_avg_samples = 2,
update_interval = 2,
update_interval_on_battery = 5,
net_avg_samples = 2,
out_to_console = false,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 32768,
imlib_cache_size = 0,
own_window = true,
own_window_type = 'desktop',
own_window_argb_visual = true,
own_window_argb_value = 200,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
border_inner_margin = 5,
border_outer_margin = 5,
xinerama_head = 2,
gap_x = 0,
gap_y = 40,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
use_xft = true,
font = 'Ubuntu Mono:size=11',
xftalpha = 0.1,
uppercase = false,
default_color = '#FFFFFF',
own_window_colour = '#000000',
minimum_width = 0, minimum_height = 0,
};
conky.text = [[
${if_match ${laptop_mode} != 0}\
${goto 10}${color #AAFF00}${font FontAwesome:size=14}\
$else\
${goto 10}${color #20FF00}${font FontAwesome:size=14}\
$endif\
${font Ubuntu Mono:size=12}${nodename} $machine ${color}${goto 220}${font FontAwesome}${font}${voffset -2} ${time %d/%m/%y} ${font FontAwesome}${font}${voffset -2} ${time %H:%M}
${goto 10}${voffset 3}${color #FF1A21}Uptime:${goto 100}${color}${uptime}\
${goto 220}${color #FF1A21}Thr/Proc: $color$threads/$processes${voffset 0}
${if_match ${battery_percent BAT1} <= 10}\
${goto 10}${color #FF1A21}${blink Battery:} \
$else \
${goto 10}${color #FF1A21}Battery: \
$endif\
${goto 102}${color}${voffset 2}${battery_bar 7,70 BAT1} ${voffset -1}${goto 180}${battery BAT1}${alignr}${battery_time BAT1}
${goto 10}${color #FF1A21}${lua distribution}${font}${alignr}${color}${kernel}
${goto 10}${hr}
${lua_parse drawnetworks 2}\
${goto 10}${hr}
${goto 10}${font FontAwesome}${font} ${color #00FF00}Storage Drives${color}
${lua_parse mountmedia 6}\
${goto 10}${diskiograph_read 20,178 06E9F8 2104FA}${goto 202}${diskiograph_write 20,175 FFFF00 DD3A21}
${font FontAwesome}${goto 10}${font} ${diskio_read}${font FontAwesome}${goto 202}${font} ${diskio_write}
${goto 10}${hr}
${goto 10}${font FontAwesome}${font}${voffset -2}${color #00FF00} ${mem}/${memmax} (${memperc}%) | Swap: ${swapperc}%$color
${goto 10}${memgraph 30,355 5014e8 ff00ff -t }
${goto 10}${hr}
${goto 10}${font FontAwesome} ${font}${color #00FF00}${lua processor}$color
${lua_parse drawcpus} \
${goto 10}${hr}
${goto 10}${color #FFFF00}CPU ${color}${lua_parse cputemp}°C \
${goto 150}${color #FFFF00}FAN ${font FontAwesome}${font} ${color}${lua_parse fanrpm 1} RPM\
${goto 300}${color #FFFF00}ACPI ${font FontAwesome} ${font}${color}${acpitemp}°C
${goto 10}${hr}
${lua_parse topprocess 5}
]];

0
conky/conky.conf.bak3 Normal file
View File

112
conky/conky.conf.main Normal file
View File

@@ -0,0 +1,112 @@
print("Loading config file...")
conky.config = {
-- Conky Settings
background = true,
update_interval = 1.0,
cpu_avg_samples = 2,
net_avg_samples = 2,
double_buffer = true,
no_buffers = true,
-- Window
own_window = true,
own_window_class = 'Conky-Sysinfo',
own_window_title = 'Conky - System Info',
own_window_type = 'normal',
-- Remove "above" and replace it with "below" if you don't want the planel to be always visable
-- own_window_hints = 'below,skip_taskbar,skip_pager',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 200,
own_window_colour = '#2b363b', -- bluish-gray
-- Size and Placement
xinerama_head = 1, -- Screan Placement
minimum_height = 5,
maximum_width = 250, -- Default is 250
alignment = 'top_left',
gap_x = 20, -- Default is 20
gap_y = 20, -- Default is 20
border_width = 5,
-- Graph settings
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
-- Text
use_xft = true,
uppercase = false,
font = 'CodeNewRoman Nerd Font Mono:size=12',
default_color = 'purple',
use_spacer = 'none',
}
conky.text = [[
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}
$hr
${color grey}Date:${alignr}${color} ${time %d-%m-%Y}
${color grey}Time:${alignr}${color} ${time %T}
${voffset -13}
${color grey}Uptime:${alignr}${color} $uptime
${voffset -13}
${color orange}CPU ${hr}
${color grey}Frequency:${alignr}${color} $freq Mhz
${color grey}Temp:${alignr}${color} ${acpitemp}°c
${color grey}Usage:${color} ${cpu}% ${goto 115}${cpubar}
${color grey}${cpugraph 00FF00 FF0000 -t}
${color orange}GPU ${hr}
${color grey}Frequency: ${alignr}${color} ${execi 10 cat /sys/class/drm/card0/gt_act_freq_mhz} MHz
${color grey}Temp: ${alignr}${color} ${execi 10 sensors | grep 'Package id 0:' | awk '{print $4}'}°C
${color grey}Usage: ${alignr}${color} ${execpi 1 /home/klein/.config/conky/get_gpu_usage.sh}%
${execgraph /home/klein/.config/conky/get_gpu_usage.sh 00ff00 ff0000 -t}
${color orange}File System ${hr}
${color}/home ${alignr}${color}${fs_used /home}/${fs_size /home}
${fs_used_perc /home}% ${goto 45}${fs_bar /home}
${voffset -13}
${color orange}Memory ${hr}
${color}Ram${alignr}${color} $mem/$memmax
${color}$memperc% ${goto 45}${membar}
${voffset -13}
${color}Swap${alignr}${color} $swap/$swapmax
${color}$swapperc% ${goto 45}${swapbar}
${voffset -13}
${color orange}Networking ${hr}
${color grey}SSID: ${color}${wireless_essid wlp0s20f3}
${color lightblue}${font FontAwesome} ${font}${color lightblue}${downspeed wlp0s20f3}/s${goto 136}${color lightgreen}${font FontAwesome} ${font}${color lightgreen}${upspeed wlp0s20f3}/s
${color lightblue}${downspeedgraph wlp0s20f3 45,122 95ec8b FF0000 -t}${offset 6}${color lightgreen}${upspeedgraph wlp0s20f3 45,122 95ec8b FF0000 -t}
${color orange}${hr}
${color grey}Name
${color lightgrey}${top name 1}${top mem 1}
${color lightgrey}${top name 2}${top mem 2}
${color lightgrey}${top name 3}${top mem 3}
${color lightgrey}${top name 4}${top mem 4}
]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 Im-shamo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,66 @@
# Conky-Sysinfo-conf
my personal conky configs
With System infomation like cpu, gpu, ram, file systems, networking and system processes
## Screenshot
![Screenshot from 2023-08-17 21-38-08](Conky-Sysinfo.png)
## Requires
Insure that you have installed
* conky
* Font Awesome
For Debian/Ubuntu
```bash
sudo apt update
sudo apt install fonts-font-awesome conky-all
```
For Arch
Use an AUR helper to install `ttf-font-awesome conky-lua-nv`
## Installation
- git clone the repository to `~/.conky` or a directory you like
- if `~/.conky` doesn't exist then create it
- Open terminal and type
```bash
mkdir -p ~/.conky
cd ~/.conky
git clone https://github.com/Im-shamo/Conky-Sysinfo-conf.git
cd ./Conky-Sysinfo-conf
```
- Then edit the file `conky_open.sh`
- edit line 5 of the script
```
# Change "$HOME/.conky" to where you git clone the repository
dir="$HOME/.conky"
```
- chmod and execute `conky_open.sh`
```bash
sudo chmod +x ./conky_open.sh
./conky_open.sh
```
- edit the networking section if network doesn`t work
- run this command
```bash
nmcli dev status
```
- get your network device. It will be like `wlo1` or `wlan0`
- go to `conky_sysinfo.conf` and change all the `wlo1` to your device in that section

View File

@@ -0,0 +1,10 @@
#/bin/bash
# Change "$HOME/.conky" to where you git clone the repository
dir="$HOME/.conky"
conky -dq -c "${dir}/Conky-Sysinfo-conf/conky_sysinfo.conf" & exit

View File

@@ -0,0 +1,107 @@
conky.config = {
-- Conky Settings
background = true,
update_interval = 1.0,
cpu_avg_samples = 2,
net_avg_samples = 2,
double_buffer = true,
no_buffers = true,
-- Window
own_window = true,
own_window_class = 'Conky-Sysinfo',
own_window_title = 'Conky - Sysinfo',
own_window_type = 'normal',
-- Remove "above" and replace it with "below" if you don't want the planel to be always visable
own_window_hints = 'above,skip_taskbar,skip_pager',
own_window_transparent = false,
own_window_argb_visual = true,
own_window_argb_value = 200,
own_window_colour = '#2b363b', -- bluish-gray
-- Size and Placement
xinerama_head = 1, -- Screan Placement
minimum_height = 5,
maximum_width = 250, -- Default is 250
alignment = 'top_left',
gap_x = 20, -- Default is 20
gap_y = 20, -- Default is 20
border_width = 5,
-- Graph settings
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
-- Text
use_xft = true,
uppercase = false,
font = 'DejaVu Sans Mono:size=12',
default_color = 'white',
use_spacer = 'none',
}
conky.text = [[
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}
$hr
${color grey}Date:${alignr}${color} ${time %d-%m-%Y}
${color grey}Time:${alignr}${color} ${time %T}
${voffset -13}
${color grey}Uptime:${alignr}${color} $uptime
${voffset -13}
${color orange}CPU ${hr}
${color grey}Frequency:${alignr}${color} $freq Mhz
${color grey}Temp:${alignr}${color} ${acpitemp}°c
${color grey}Usage:${color} ${cpu}% ${goto 115}${cpubar}
${color grey}${cpugraph 00FF00 FF0000 -t}
${color orange}GPU ${hr}
${color grey}Frequency:${alignr}${color} ${nvidia gpufreqcur} Mhz
${color grey}Temp:${alignr}${color} ${nvidia temp}°c
${color grey}Usage:${color} ${nvidia gpuutil}% ${goto 115}${nvidiabar gpuutil}
${color grey}${nvidiagraph gpuutil 00FF00 FF0000 -t}
${color orange}File System ${hr}
${color}/home ${alignr}${color}${fs_used /home}/${fs_size /home}
${fs_used_perc /home}% ${goto 45}${fs_bar /home}
${voffset -13}
${color orange}Memory ${hr}
${color}Ram${alignr}${color} $mem/$memmax
${color}$memperc% ${goto 45}${membar}
${voffset -13}
${color}Swap${alignr}${color} $swap/$swapmax
${color}$swapperc% ${goto 45}${swapbar}
${voffset -13}
${color orange}Networking ${hr}
${color grey}SSID: ${color}${wireless_essid wlp0s20f3}
${color lightblue}${font FontAwesome} ${font}${color lightblue}${downspeed wlp0s20f3}/s${goto 136}${color lightgreen}${font FontAwesome} ${font}${color lightgreen}${upspeed wlp0s20f3}/s
${color lightblue}${downspeedgraph wlp0s20f3 45,122 95ec8b FF0000 -t}${offset 6}${color lightgreen}${upspeedgraph wlp0s20f3 45,122 95ec8b FF0000 -t}
${color orange}${hr}
${color grey}Name
${color lightgrey}${top name 1}${top mem 1}
${color lightgrey}${top name 2}${top mem 2}
${color lightgrey}${top name 3}${top mem 3}
${color lightgrey}${top name 4}${top mem 4}
]]

2
conky/get_gpu_usage.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
sudo intel_gpu_top -J -s 1 2>/dev/null | grep -oP '\"busy\": \K\d+' | head -1