This commit is contained in:
Benjamin Kyd
2023-05-30 17:57:29 +01:00
parent 221d264a29
commit 398dfe44fc
2 changed files with 16 additions and 5 deletions

View File

@@ -1 +1,6 @@
nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits | awk '{printf "%02d\n", $1}'
if command -v nvidia-smi &> /dev/null
then
nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits | awk '{printf "%02d\n", $1}'
exit
fi

View File

@@ -16,12 +16,18 @@ config.color_scheme = 'Catppuccin Macchiato'
config.window_background_opacity = 0.85
config.window_padding = {
left = '0.5cell',
right = '0.5cell',
top = '0.3cell',
bottom = '0.3cell',
left = 4,
right = 4,
top = 4,
bottom = 0,
}
config.default_prog = { "/usr/bin/zsh" }
config.line_height = 1
config.animation_fps = 60
--config.cursor_blink_ease_in = "Linear"
--config.cursor_blink_ease_out = "Linear"
config.keys = {
-- Turn off the default CMD-m Hide action, allowing CMD-m to
-- be potentially recognized and handled by the tab