Skip to content

Commit

Permalink
rm hidpi for now
Browse files Browse the repository at this point in the history
  • Loading branch information
davidosomething committed Dec 23, 2024
1 parent 5706067 commit 2ce9ffd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions wezterm/dko/typography.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ M.setup = function(config, opts)

config.adjust_window_size_when_changing_font_size = false

config.command_palette_font_size = opts.hidpi and 24.0 or 16.0
config.command_palette_font_size = 24.0

config.font = wezterm.font_with_fallback({
-- wez recommends against using patched nerd fonts because of mangled
Expand Down Expand Up @@ -70,7 +70,7 @@ M.setup = function(config, opts)

config.font_dirs = { "fonts" }

config.font_size = opts.hidpi and 16.0 or 14.0
config.font_size = 16.0

-- this is the default if using latest nightly
--config.front_end = "WebGpu"
Expand Down
7 changes: 2 additions & 5 deletions wezterm/wezterm.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
local wezterm = require("wezterm")

local hidpi = wezterm.hostname() == "dotrakoun-mac"
or wezterm.hostname() == "potatoair"

-- This table will hold the configuration.
local config = {}

Expand All @@ -18,7 +15,7 @@ config.cursor_blink_ease_in = "Linear"
config.cursor_blink_ease_out = "EaseIn"
config.cursor_blink_rate = 400

config.default_cursor_style = hidpi and "SteadyBlock" or "BlinkingBlock"
config.default_cursor_style = "BlinkingBlock"

config.enable_scroll_bar = true

Expand All @@ -44,7 +41,7 @@ config.window_padding = {
bottom = "0.5cell",
}

require("dko/typography").setup(config, { hidpi = hidpi })
require("dko/typography").setup(config)
require("dko/mappings").setup(config)
require("dko/theme").setup(config)
require("dko/panes").setup()
Expand Down

0 comments on commit 2ce9ffd

Please sign in to comment.