Skip to content

Commit

Permalink
WezTerm: use OpenGL only with Madara, else WebGPU
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Dec 15, 2024
1 parent 39c3ac0 commit acda9bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/home-manager/pc/terminal/wezterm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
-- config.front_end = "WebGpu"
-- config.enable_wayland = true
config.front_end = "${
if ((args ? nixosConfig) && (!osConfig.hosts.nvidia.enable)) then "OpenGL" else "WebGpu"
# if ((args ? nixosConfig) && (!osConfig.hosts.nvidia.enable)) then "OpenGL" else "WebGpu"
if ((args ? nixosConfig) && (osConfig.networking.hostName == "madara")) then "OpenGL" else "WebGpu"
}"
config.hide_tab_bar_if_only_one_tab = true
-- config.window_decorations = 'TITLE | RESIZE'
Expand Down

0 comments on commit acda9bb

Please sign in to comment.