Hello there!
So, is creating custom plasmoids for KDE Plasma, so-called widgets, complicated?
I’m asking because I’d like to create a widget that integrates various information into a single widget, instead of using multiple widgets.
What I’m interested in having on the plasmoid would be:
Time, date, and day of the week, based on the time zone and the language set in the operating system (so, for example, today, Tuesday, it displays the current time in the system language, instead of just English).
Weather conditions, perhaps with the option to enter the coordinates of your city, as in some widgets, or use services like openweathermap for the weather. Always use the system language if possible.
Total CPU usage and maximum CPU temperature. Perhaps even with different representations, such as a classic pie chart for total CPU usage, and a line chart for temperature. So far, I haven’t been able to find any widgets or options that would also show the CPU’s power consumption in watts, as is the case with the GPU. If possible, I’d add this to the pie chart as well.
Total GPU usage, power consumption, and maximum GPU and junction temperatures. I could also add VRAM usage. Besides providing basic GPU data (model, available VRAM), although the plasmoid model is a bit imprecise, it doesn’t recognize the exact model, at least for me.
Amount of system RAM and its usage, perhaps with a pie chart.
Data on the hard drive in use, hard drive size (512 GB, 1 TB, 2 TB, etc.), occupied space, write and read speeds
In short, I’d like to put all this in a single plasmoid/widget rather than using different ones for each thing I need or want to see.
Is it complicated to implement?
My hardware is as follows:
[sermor@sermorarchpc ~]$ inxi -e
System:
Host: sermorarchpc Kernel: 6.15.9-arch1-1 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 6.4.4 Distro: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: PRIME X570-P v: Rev X.0x
serial: <superuser required> UEFI: American Megatrends v: 5013
date: 03/22/2024
CPU:
Info: 8-core model: AMD Ryzen 7 5700X bits: 64 type: MT MCP cache: L2: 4 MiB
Speed (MHz): avg: 3712 min/max: 562/4666 cores: 1: 3712 2: 3712 3: 3712
4: 3712 5: 3712 6: 3712 7: 3712 8: 3712 9: 3712 10: 3712 11: 3712 12: 3712
13: 3712 14: 3712 15: 3712 16: 3712
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 22 [Radeon RX 6700/6700
XT/6750 XT / 6800M/6850M XT] driver: amdgpu v: kernel
Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
compositor: kwin_wayland driver: X: loaded: amdgpu
unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu
resolution: 1920x1080~165Hz
API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
platforms: gbm,wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.1.7-arch1.1
renderer: AMD Radeon RX 6750 XT (radeonsi navi22 LLVM 20.1.8 DRM 3.63
6.15.9-arch1-1)
API: Vulkan v: 1.4.321 drivers: radv surfaces: N/A
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 21/23 HDMI/DP Audio
driver: snd_hda_intel
Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio
driver: snd_hda_intel
Device-3: HP OMEN Blast Headset driver: hid-generic,snd-usb-audio,usbhid
type: USB
API: ALSA v: k6.15.9-arch1-1 status: kernel-api
Server-1: PipeWire v: 1.4.7 status: active
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: 50:eb:f6:5c:20:1b
Drives:
Local Storage: total: 23.65 TiB used: 698.44 GiB (2.9%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB
ID-2: /dev/nvme1n1 vendor: Western Digital model: WD BLACK SN850X 2000GB
size: 1.82 TiB
ID-3: /dev/sda vendor: Western Digital model: WD60EFZX-68B3FN0
size: 5.46 TiB
ID-4: /dev/sdb vendor: Samsung model: SSD 870 QVO 4TB size: 3.64 TiB
ID-5: /dev/sdc vendor: Crucial model: CT2000MX500SSD1 size: 1.82 TiB
ID-6: /dev/sdd vendor: Western Digital model: WD Blue SA510 2.5 2TB
size: 1.82 TiB
ID-7: /dev/sde vendor: Seagate model: ST8000DM004-2U9188 size: 7.28 TiB
Partition:
ID-1: / size: 1.82 TiB used: 698.25 GiB (37.5%) fs: btrfs
dev: /dev/nvme0n1p2
ID-2: /boot size: 1022 MiB used: 189.4 MiB (18.5%) fs: vfat
dev: /dev/nvme0n1p1
ID-3: /home size: 1.82 TiB used: 698.25 GiB (37.5%) fs: btrfs
dev: /dev/nvme0n1p2
ID-4: /var/log size: 1.82 TiB used: 698.25 GiB (37.5%) fs: btrfs
dev: /dev/nvme0n1p2
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 44.9 C mobo: N/A gpu: amdgpu temp: 45.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
Memory: total: 64 GiB note: est. available: 62.7 GiB used: 5.3 GiB (8.5%)
Processes: 415 Uptime: 48m Shell: Bash inxi: 3.3.38
