# MATE default Wayfire configuration. # # This is the system template installed by mate-session-manager at # /usr/share/mate-session-manager/wayfire.ini. On the first Wayland login it is # copied to ~/.config/mate/wayfire/wayfire.ini, which you can edit freely; the system # template is never overwritten again. To go back to the defaults, simply remove # ~/.config/mate/wayfire/wayfire.ini. # See the Wayfire documentation for a complete reference: # https://github.com/WayfireWM/wayfire/wiki/Configuration [core] # List of plugins to be enabled. plugins = \ alpha \ animate \ autostart \ command \ decoration \ ext-toplevel \ ext-workspace \ fast-switcher \ foreign-toplevel \ grid \ gtk-shell \ idle \ input-method-v1 \ invert \ move \ oswitch \ place \ resize \ security-context-v1 \ session-lock \ shortcuts-inhibit \ switcher \ window-rules \ wm-actions \ xdg-activation \ zoom # Close focused window. close_top_view = KEY_Q | KEY_F4 # 4 workspaces by default. vwidth = 4 vheight = 1 # Prefer client-side decoration or server-side decoration preferred_decoration_mode = client # MATE dialogs are not forced to be modal. all_dialogs_modal = false # Mouse bindings --------------------------------------------------------------- # Drag windows by holding down Super and left mouse button. [move] activate = BTN_LEFT # Resize them with right mouse button + Super. [resize] activate = BTN_RIGHT # Zoom in the desktop by scrolling + Super. [zoom] modifier = # Change opacity by scrolling with Super + Alt. [alpha] modifier = # Startup commands ------------------------------------------------------------- [autostart] # Make bus-activated and systemd-managed services aware of the Wayland # environment (also fixes the slow startup of Gtk+3 applications). 0_env = dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XAUTHORITY # The MATE session. Run while the session does, then kill this compositor so # the display manager sees the session end and returns to the login screen. session = mate-session; killall wayfire # The background and panel are managed by MATE itself (mate-settings-daemon and # mate-panel), so do not start the wf-shell clients. wf-background provides a # placeholder background until then. autostart_wf_shell = false background = wf-background # Commands --------------------------------------------------------------------- [command] # Start a terminal binding_terminal = KEY_T command_terminal = mate-terminal # Start the MATE run dialog binding_launcher = KEY_F2 command_launcher = mate-panel --run-dialog # Lock the screen binding_lock = KEY_L command_lock = mate-screensaver-command --lock # Log out binding_logout = KEY_DELETE command_logout = mate-session-quit --logout # Take a screenshot binding_screenshot = KEY_PRINT command_screenshot = mate-screenshot # Windows ---------------------------------------------------------------------- # Actions related to window management functionalities. [wm-actions] toggle_fullscreen = KEY_F toggle_always_on_top = KEY_X toggle_always_on_bottom = KEY_X toggle_sticky = KEY_X # Position the windows in certain regions of the output. [grid] slot_bl = KEY_KP1 slot_b = KEY_KP2 slot_br = KEY_KP3 slot_l = KEY_LEFT | KEY_KP4 slot_c = KEY_UP | KEY_KP5 slot_r = KEY_RIGHT | KEY_KP6 slot_tl = KEY_KP7 slot_t = KEY_KP8 slot_tr = KEY_KP9 # Restore default. restore = KEY_DOWN | KEY_KP0 # Change active window with an animation. [switcher] next_view = KEY_TAB prev_view = KEY_TAB # Simple active window switcher. [fast-switcher] activate = KEY_ESC # Outputs ---------------------------------------------------------------------- # Change focused output. [oswitch] # Switch to the next output. next_output = KEY_O # Same with the window. next_output_with_win = KEY_O # Invert the colors of the whole output. [invert] toggle = KEY_I # Rules ------------------------------------------------------------------------ # Example configuration: # # [window-rules] # maximize_alacritty = on created if app_id is "Alacritty" then maximize # # You can get the properties of your applications with the following command: # $ WAYLAND_DEBUG=1 alacritty 2>&1 | kak # # See Window rules for a complete reference. # https://github.com/WayfireWM/wayfire/wiki/Configuration#window-rules # Idle ------------------------------------------------------------------------- # MATE handles idle notification itself (via ext-idle-notify), so do not let # Wayfire turn off the display on its own. [idle] dpms_timeout = 0