diff --git a/common/.config/polybar/scripts/gpu.sh b/common/.config/polybar/scripts/gpu.sh index bcf91de..04bc201 100755 --- a/common/.config/polybar/scripts/gpu.sh +++ b/common/.config/polybar/scripts/gpu.sh @@ -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 + diff --git a/common/.config/wezterm/wezterm.lua b/common/.config/wezterm/wezterm.lua index f0fbc45..a78e0b3 100644 --- a/common/.config/wezterm/wezterm.lua +++ b/common/.config/wezterm/wezterm.lua @@ -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