From 11ebe645d39d751e051eec5e645f8b505364ccd3 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Thu, 15 Apr 2021 14:41:33 +0200 Subject: [PATCH] nugget changes --- .config/fontconfig/fonts.conf | 51 ++++++++++------- .config/wezterm/wezterm.lua | 55 +++++++++++-------- .local/share/applications/plex.desktop | 4 +- .../applications/wezterm-dln-dev.desktop | 3 +- .../share/applications/youtube-music.desktop | 2 +- .ssh/config | 1 + 6 files changed, 69 insertions(+), 47 deletions(-) diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index a3ca748..11c4995 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -1,22 +1,33 @@ - - + + - - serif - - Noto Color Emoji - - - - sans-serif - - Noto Color Emoji - - - - monospace - - Noto Color Emoji - - + + serif + + Noto Color Emoji + + + + sans-serif + + Noto Color Emoji + + + + monospace + + Noto Color Emoji + + + ~/.fonts + + + true + + + + + hintslight + + diff --git a/.config/wezterm/wezterm.lua b/.config/wezterm/wezterm.lua index 7f8d609..4fca0be 100644 --- a/.config/wezterm/wezterm.lua +++ b/.config/wezterm/wezterm.lua @@ -54,12 +54,13 @@ local themeShelmanLight = { cursor_bg = "#FB8C00", cursor_border = "#FB8C00", split = "#444444", - ansi = { "#000000", "#ff605a", "#b1e869", "#ead89c", "#5da9f6", "#e86aff", "#82fff6", "#ded9ce" }, - brights = { "#313131", "#f58b7f", "#dcf88f", "#eee5b2", "#a5c7ff", "#ddaaff", "#b6fff9", "#fefffe" }, + ansi = { "#212121", "#b7141e", "#457b23", "#f5971d", "#134eb2", "#550087", "#0e707c", "#eeeeee" }, + brights = { "#424242", "#e83a3f", "#7aba39", "#fee92e", "#53a4f3", "#a94dbb", "#26bad1", "#d8d8d8" }, + tab_bar = { - background = "#444444", + background = "#556677", active_tab = { bg_color = "#f7f7f7", fg_color = "#000000", intensity = "Normal", }, - inactive_tab = { bg_color = "#777777", fg_color = "#000000", intensity = "Half", }, + inactive_tab = { bg_color = "#778899", fg_color = "#000000", intensity = "Half", }, inactive_tab_hover = { bg_color = "#333333", fg_color = "#909090", italic = true, } } }, @@ -67,49 +68,55 @@ local themeShelmanLight = { tab_bar_style = { active_tab_left = wezterm.format({ {Background={Color="#f7f7f7"}}, {Foreground={Color="#000000"}}, {Text=" "} }), active_tab_right = wezterm.format({ {Background={Color="#f7f7f7"}}, {Foreground={Color="#000000"}}, {Text=" "} }), - inactive_tab_left = wezterm.format({ {Background={Color="#777777"}}, {Foreground={Color="#f7f7f7"}}, {Text=" "} }), - inactive_tab_right = wezterm.format({ {Background={Color="#777777"}}, {Foreground={Color="#333333"}}, {Text="▕"} }), + inactive_tab_left = wezterm.format({ {Background={Color="#778899"}}, {Foreground={Color="#f7f7f7"}}, {Text=" "} }), + inactive_tab_right = wezterm.format({ {Background={Color="#778899"}}, {Foreground={Color="#333333"}}, {Text="▕"} }), inactive_tab_hover_left = wezterm.format({ {Background={Color="#333333"}}, {Foreground={Color="#ffffff"}}, {Text=" "} }), inactive_tab_hover_right = wezterm.format({ {Background={Color="#333333"}}, {Foreground={Color="#ffffff"}}, {Text=" "} }), }, }; -local theme = themeShelmanDark; +local theme = themeShelmanLight; return { colors = theme.colors, tab_bar_style = theme.tab_bar_style, -- automatically_reload_config = false, - font = font_with_fallback("Iosevka Term SS09 Light"), + font = font_with_fallback("Iosevka Term SS09", {weight="Regular"}), + -- font = wezterm.font("Iosevka Term SS09", {weight="Regular"}), font_rules = { { italic = false, intensity = "Half", - font = font_with_fallback("Iosevka Term SS09 Thin") + font = font_with_fallback("Iosevka Term SS09", {weight="Thin"}) }, { italic = true, intensity = "Normal", - font = font_with_fallback("Iosevka Term SS09 Light", {italic=true}) + font = font_with_fallback("Iosevka Term SS09", {weight="Light", italic=true}) }, { italic = true, intensity = "Bold", - font = font_with_fallback("Iosevka Term Curly Slab XLt", {italic=true}) + font = font_with_fallback("Iosevka Term Curly Slab", {weight="Light", italic=true}) }, { intensity = "Bold", - font = font_with_fallback("Iosevka Term SS09 Semibold") + font = font_with_fallback("Iosevka Term SS09", {weight="DemiBold"}) }, }, - freetype_load_target = "HorizontalLcd", + -- freetype_load_target = "HorizontalLcd", + freetype_load_target = "Light", + freetype_interpreter_version = 40, + freetype_load_flags = "FORCE_AUTOHINT", + + bold_brightens_ansi_colors = false, font_size = 12.0, - line_height = 1.0, + line_height = 1.125, - initial_cols = 120, - initial_rows = 40, + -- initial_cols = 120, + -- initial_rows = 40, window_padding = { left = 0, right = 0, @@ -126,6 +133,8 @@ return { check_for_updates = false, status_update_interval = 100, + term = "wezterm", + launch_menu = { { label = "dln-dev", @@ -160,12 +169,12 @@ return { }, - ssh_domains = { - { - name = "dln-dev", - remote_address = "dln-dev", - username = "dln", - } - }, + -- ssh_domains = { + -- { + -- name = "dln-dev", + -- remote_address = "dln-dev", + -- username = "dln", + -- } + -- }, } diff --git a/.local/share/applications/plex.desktop b/.local/share/applications/plex.desktop index 39fa9aa..05a0e77 100644 --- a/.local/share/applications/plex.desktop +++ b/.local/share/applications/plex.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Version=1.0 Name=plex -StartupWMClass=plex -Exec=/usr/bin/google-chrome-stable --profile-directory='Profile 2' --app=https://plex.aarn.shelman.io +StartupWMClass=plex.aarn.shelman.io +Exec=/usr/bin/google-chrome-stable --profile-directory='Profile 2' --app-id=llnnnpamphjdahhjbplmgfangbkgfonf Terminal=false Icon=google-chrome Type=Application diff --git a/.local/share/applications/wezterm-dln-dev.desktop b/.local/share/applications/wezterm-dln-dev.desktop index c463d3a..0f5bb3b 100644 --- a/.local/share/applications/wezterm-dln-dev.desktop +++ b/.local/share/applications/wezterm-dln-dev.desktop @@ -1,10 +1,11 @@ [Desktop Entry] Name=wezterm-dln-dev GenericName=wezterm-dln-dev -StartupWMClass=wezterm-dln-dev +StartupWMClass=org.wezfurlong.wezterm Type=Application TryExec=/usr/bin/wezterm Icon=org.wezfurlong.wezterm Terminal=false Categories=System;TerminalEmulator; +# Exec=/usr/bin/wezterm connect dln-dev Exec=/usr/bin/wezterm --config 'default_prog={"autossh", "-M0", "-q", "dln-dev"}' start --class=wezterm-dln-dev diff --git a/.local/share/applications/youtube-music.desktop b/.local/share/applications/youtube-music.desktop index 5b622d3..7641455 100644 --- a/.local/share/applications/youtube-music.desktop +++ b/.local/share/applications/youtube-music.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Version=1.0 Name=YouTube Music -StartupWMClass=youtube-music +StartupWMClass=music.youtube.com Exec=/usr/bin/google-chrome-stable --profile-directory='Profile 2' --app=https://music.youtube.com Terminal=false Icon=google-chrome diff --git a/.ssh/config b/.ssh/config index 3d99bfe..e045162 100644 --- a/.ssh/config +++ b/.ssh/config @@ -16,6 +16,7 @@ ForwardAgent yes ForwardX11 yes ExitOnForwardFailure yes Compression yes +LocalForward 127.0.0.1:8000 127.0.0.1:8000 LocalForward 127.0.0.1:8080 127.0.0.1:8080 LocalForward 127.0.0.1:8200 127.0.0.1:8200 LocalForward 127.0.0.1:8250 127.0.0.1:8250