mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
wezterm: add conditional config for Wayland environments
This commit is contained in:
parent
2da4465ff6
commit
b7e39ec827
@ -14,8 +14,10 @@ function module.apply_to_config(config)
|
||||
config.check_for_updates = false
|
||||
|
||||
-- Enable some things for Wayland.
|
||||
config.enable_wayland = true
|
||||
config.force_reverse_video_cursor = true
|
||||
if os.getenv "XDG_SESSION_TYPE" == "wayland" then
|
||||
config.enable_wayland = true
|
||||
config.force_reverse_video_cursor = true
|
||||
end
|
||||
|
||||
-- Use some IME.
|
||||
config.use_ime = true
|
||||
|
Loading…
Reference in New Issue
Block a user