Skip to content

Commit c080807

Browse files
authored
Add a shortcut for spawning alacritty using only software rendering
This should work around GPU acceleration issues with the VM.
1 parent e6ec2de commit c080807

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎system_files/etc/niri/config.kdl‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ binds {
359359

360360
// Suggested binds for running programs: terminal, app launcher, screen locker.
361361
Mod+T hotkey-overlay-title="Open a Terminal" { spawn "alacritty"; }
362+
Mod+Shift+T hotkey-overlay-title="Open a Terminal (with software rendering)" { spawn "env" "LIBGL_ALWAYS_SOFTWARE=1" "alacritty"; }
362363
// Mod+D hotkey-overlay-title="Run an Application" { spawn "fuzzel"; }
363364

364365
// Example volume keys mappings for PipeWire & WirePlumber.

0 commit comments

Comments
 (0)