From 74e6942cafca1537fc3b3a0d854529fe0e0ef50f Mon Sep 17 00:00:00 2001 From: cyteen Date: Sun, 12 May 2024 07:37:15 +0100 Subject: [PATCH] Sundry editing. --- 020_wezterm.sh | 91 ++++++++++++++++++++++++++------------------------ 1 file changed, 47 insertions(+), 44 deletions(-) diff --git a/020_wezterm.sh b/020_wezterm.sh index 577a2b3..5e06cc9 100644 --- a/020_wezterm.sh +++ b/020_wezterm.sh @@ -60,7 +60,8 @@ arm64) EXTENSION="Debian12.arm64.deb" ;; armhf) - EXTENSION="Debian12.armhf.deb" + EXTENSION="Debian12.armhf.deb" + ;; *) echo "Unable to determine system architecture." exit 1 @@ -80,7 +81,8 @@ if [ $? -eq 0 ]; then else echo "Checksums do not match. Skipping installation." fi -"Checksums do not match. Skipping installation."# conf_print_${PROJECT}() { + +# conf_print_${PROJECT}() { # cat <<'EOF' # name: debian12 # @@ -345,48 +347,49 @@ fi # EOF # } # # conf_print_wezterm_deploy -# -# conf_print_wezterm_theme_minimal() { -# cat <<-EOF -# local wezterm = require("wezterm") -# return { -# -- color_scheme = 'termnial.sexy', -# color_scheme = "Catppuccin Mocha", -# enable_tab_bar = false, -# font_size = 11.0, -# -- macos_window_background_blur = 40, -# macos_window_background_blur = 30, -# -# -- window_background_image = '/Users/omerhamerman/Downloads/3840x1080-Wallpaper-041.jpg', -# -- window_background_image_hsb = { -# -- brightness = 0.01, -# -- hue = 1.0, -# -- saturation = 0.5, -# -- }, -# -- window_background_opacity = 0.92, -# window_background_opacity = 1.0, -# -- window_background_opacity = 0.78, -# -- window_background_opacity = 0.20, -# window_decorations = "RESIZE", -# keys = { -# { -# key = "f", -# mods = "CTRL", -# action = wezterm.action.ToggleFullScreen, -# }, -# }, -# mouse_bindings = { -# -- Ctrl-click will open the link under the mouse cursor -# { -# event = { Up = { streak = 1, button = "Left" } }, -# mods = "CTRL", -# action = wezterm.action.OpenLinkAtMouseCursor, -# }, -# }, -# } -# EOF -# } -# conf_print_wezterm_theme_minimal | tee ${DEST}/.config/wezterm/wezterm.lua + +WALLPAPER='${DEST}/Pictures/Wallpapers/1920x1200-Wallpaper-041.jpg' +conf_print_wezterm_theme_minimal() { + cat <<-EOF + local wezterm = require("wezterm") + return { + -- color_scheme = 'termnial.sexy', + color_scheme = "Catppuccin Mocha", + enable_tab_bar = false, + font_size = 11.0, + -- macos_window_background_blur = 40, + macos_window_background_blur = 30, + + -- window_background_image = ${WALLPAPER}', + -- window_background_image_hsb = { + -- brightness = 0.01, + -- hue = 1.0, + -- saturation = 0.5, + -- }, + -- window_background_opacity = 0.92, + window_background_opacity = 1.0, + -- window_background_opacity = 0.78, + -- window_background_opacity = 0.20, + window_decorations = "RESIZE", + keys = { + { + key = "f", + mods = "CTRL", + action = wezterm.action.ToggleFullScreen, + }, + }, + mouse_bindings = { + -- Ctrl-click will open the link under the mouse cursor + { + event = { Up = { streak = 1, button = "Left" } }, + mods = "CTRL", + action = wezterm.action.OpenLinkAtMouseCursor, + }, + }, + } + EOF +} +conf_print_wezterm_theme_minimal | tee ${DEST}/.config/wezterm/wezterm.lua # An extensive wezterm config, maybe too extensive, using tmux as default. # and a complete set of aditional keymaps to learn.