Add radeontop to FreeBSD.

This commit is contained in:
Tom Alexander 2024-05-05 11:19:03 -04:00
parent faa9b7bb62
commit 44fd819705
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 24 additions and 13 deletions

View File

@ -57,6 +57,7 @@
:pin manual
:hook (
(python-ts-mode . (lambda ()
(when-linux
(when (executable-find "poetry")
(add-poetry-venv-to-path)
(let ((venv (locate-venv-poetry))) (when venv
@ -64,10 +65,19 @@
(list (cons ':python (list ':venvPath venv ':pythonPath (concat venv "/bin/python")))))
))
)
(when-linux
(eglot-ensure)
)
;; (when-freebsd
;; (eglot-ensure)
;; (defclass my/eglot-pylyzer (eglot-lsp-server) ()
;; :documentation
;; "Own eglot server class.")
;; (add-to-list 'eglot-server-programs
;; '(python-ts-mode . (my/eglot-pylyzer "pylyzer" "--server")))
;; )
(add-hook 'before-save-hook 'python-fmt nil 'local)
))
)

View File

@ -8,7 +8,7 @@
- libva-utils # for vainfo
- vdpauinfo # for vdpauinfo
- libvdpau-va-gl # vdpau support
# - igt-gpu-tools # for intel_gpu_top
- radeontop
- vulkan-tools # For vulkaninfo
state: present

View File

@ -96,6 +96,7 @@ sysutils/nvme-cli
sysutils/powermon
sysutils/pstree
sysutils/pv
sysutils/radeontop
sysutils/rust-coreutils
sysutils/tmux
sysutils/tree