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,19 +57,29 @@
:pin manual :pin manual
:hook ( :hook (
(python-ts-mode . (lambda () (python-ts-mode . (lambda ()
(when (executable-find "poetry") (when-linux
(add-poetry-venv-to-path) (when (executable-find "poetry")
(let ((venv (locate-venv-poetry))) (when venv (add-poetry-venv-to-path)
(setq eglot-workspace-configuration (let ((venv (locate-venv-poetry))) (when venv
(list (cons ':python (list ':venvPath venv ':pythonPath (concat venv "/bin/python"))))) (setq eglot-workspace-configuration
)) (list (cons ':python (list ':venvPath venv ':pythonPath (concat venv "/bin/python")))))
) ))
(when-linux )
(eglot-ensure) (eglot-ensure)
) )
(add-hook 'before-save-hook 'python-fmt nil 'local) ;; (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)
))
) )
:bind ((:map python-ts-mode-map ([backspace] . python-backspace)) :bind ((:map python-ts-mode-map ([backspace] . python-backspace))
) )

View File

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

View File

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