Skip to content

Instantly share code, notes, and snippets.

@spaced
Last active December 29, 2023 13:07
Show Gist options
  • Save spaced/092bafb493d9c9fac97cebf9bd03dc5a to your computer and use it in GitHub Desktop.
Save spaced/092bafb493d9c9fac97cebf9bd03dc5a to your computer and use it in GitHub Desktop.
wayland tweaks

scaling hidpi: everything is very small needed steps:

  • settings -> display -> scale = 1
  • settings -> enforce fonts dpi -> 162dpi
  • settings -> symbols -> scale up

meta/win/idea issue:

  • settings -> input -> keyboard -> extended -> toggle left alt with left win
  • idea: help -> custom properties:
keymap.windows.as.meta=true

chromium/gtk: tweak keys in

cat ~/.config/gtk-3.0/gtk.css                                                                                                                                                                
@import 'colors.css';
@import 'window_decorations.css';
@import 'keys.css';

cat ~/.config/gtk-3.0/keys.css:

@binding-set gtk-super-cut-copy-paste
{
        bind "<super>x" { "cut-clipboard" () };
        bind "<super>c" { "copy-clipboard" () };
        bind "<super>v" { "paste-clipboard" () };
        bind "<super>a" { "select-all" (1) };
        bind "<super>z" { "undo" () };
}

* {
        -gtk-key-bindings: gtk-super-cut-copy-paste
}

firefox: about:config:

ui.key.accelKey=224 #xwindow
ui.key.accelKey=91  #wayland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment