Mon. Feb 26th, 2024

PaperWM.spoon: administrador de ventanas desplazables en mosaico para MacOS – Programa gratuito inspirado en PaperWM

By admin Jan 31, 2024

Características

  • Soporta múltiples pantallas
  • Admite atajos personalizados

Uso

Agregue lo siguiente a su ~/.hammerspoon/init.lua:

PaperWM = hs.loadSpoon("PaperWM")
PaperWM:bindHotkeys({
-- switch to a new focused window in tiled grid
focus_left = {{"ctrl", "alt", "cmd"}, "left"},
focus_right = {{"ctrl", "alt", "cmd"}, "right"},
focus_up = {{"ctrl", "alt", "cmd"}, "up"},
focus_down = {{"ctrl", "alt", "cmd"}, "down"},

-- move windows around in tiled grid
swap_left = {{"ctrl", "alt", "cmd", "shift"}, "left"},
swap_right = {{"ctrl", "alt", "cmd", "shift"}, "right"},
swap_up = {{"ctrl", "alt", "cmd", "shift"}, "up"},
swap_down = {{"ctrl", "alt", "cmd", "shift"}, "down"},

-- position and resize focused window
center_window = {{"ctrl", "alt", "cmd"}, "c"},
full_width = {{"ctrl", "alt", "cmd"}, "f"},
cycle_width = {{"ctrl", "alt", "cmd"}, "r"},
cycle_height = {{"ctrl", "alt", "cmd", "shift"}, "r"},

-- move focused window into / out of a column
slurp_in = {{"ctrl", "alt", "cmd"}, "i"},
barf_out = {{"ctrl", "alt", "cmd"}, "o"},

-- switch to a new Mission Control space
switch_space_1 = {{"ctrl", "alt", "cmd"}, "1"},
switch_space_2 = {{"ctrl", "alt", "cmd"}, "2"},
switch_space_3 = {{"ctrl", "alt", "cmd"}, "3"},
switch_space_4 = {{"ctrl", "alt", "cmd"}, "4"},
switch_space_5 = {{"ctrl", "alt", "cmd"}, "5"},
switch_space_6 = {{"ctrl", "alt", "cmd"}, "6"},
switch_space_7 = {{"ctrl", "alt", "cmd"}, "7"},
switch_space_8 = {{"ctrl", "alt", "cmd"}, "8"},
switch_space_9 = {{"ctrl", "alt", "cmd"}, "9"},

-- move focused window to a new space and tile
move_window_1 = {{"ctrl", "alt", "cmd", "shift"}, "1"},
move_window_2 = {{"ctrl", "alt", "cmd", "shift"}, "2"},
move_window_3 = {{"ctrl", "alt", "cmd", "shift"}, "3"},
move_window_4 = {{"ctrl", "alt", "cmd", "shift"}, "4"},
move_window_5 = {{"ctrl", "alt", "cmd", "shift"}, "5"},
move_window_6 = {{"ctrl", "alt", "cmd", "shift"}, "6"},
move_window_7 = {{"ctrl", "alt", "cmd", "shift"}, "7"},
move_window_8 = {{"ctrl", "alt", "cmd", "shift"}, "8"},
move_window_9 = {{"ctrl", "alt", "cmd", "shift"}, "9"}
})
PaperWM:start()

Limitación

MacOS no permite mover una ventana completamente fuera de la pantalla. Las ventanas que se colocarían en mosaico fuera de la pantalla se colocan en un margen en el borde izquierdo y derecho de la pantalla. Todavía son visibles y se puede hacer clic en ellos.

Es difícil detectar cuando se arrastra una ventana de un espacio o pantalla a otra. Utilice los comandos move_window_N para mover ventanas entre espacios y pantallas.

Organice las pantallas verticalmente para evitar que las ventanas se derramen hacia otras pantallas.

Plataformas

macOS nulo

Licencia

licencia MIT

Etiquetas

sistema, administrador de ventanas, macos, vim, productividad, herramientas, utilidad, wm, utilidades, mosaico de ventanas, administrador de ventanas de mosaico, mosaico wm, administrador de ventanas de mosaico de macos, mosaico

Recursos

GitHub

Etiquetas

macos opentosh Herramientas de productividad utilidad utilidades wm mosaico de ventanas mosaico del administrador de ventanas mosaico wm macos mosaico del administrador de ventanas

By admin

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *