Skip to content

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miaout

A really simple overengeeneried workspace/window "manager" for hyprland lua config

Setup

local miaout = require("miaout")
miaout = miaout.Init()

Important

hl.config({...}) need to be set before miaout = miaout.Init()

Config

See config docs Here

Bind usage

hl.bind("KEY(S)", function()
  miaout.scope.func
end)

Methods

Workspace

Some methods need a HL.Workspace as argument, to use the current workspace:

miaout.workspace.current:method()
miaout.workspace:NewWorkspace()

Create a new workspace

Navigation

miaout.workspace:NextWorkspace()

Focus the next workspace (e+1)

miaout.workspace:PrevWorkspace()

Focus the next workspace (e-1)

miaout.workspace:NextMonitorWorkspace()

Focus the next monitor workspace (m+1)

miaout.workspace:PrevMonitorWorkspace()

Focus the next monitor workspace (m-1)

miaout.workspace:MoveToNextMonitor(workspace)

Move the workspace to the next monitor

miaout.workspace:MoveToPrevMonitor(workspace)

Move the workspace to the previous monitor

miaout.workspace:MoveToMonitor(workspace, monitor)

Move the workspace to a monitor

Layouts

miaout.workspace:NextLayout(workspace)

Apply next layout to a workspace

miaout.workspace:PrevLayout(workspace)

Apply previous layout to a workspace

miaout.workspace:DefaultLayout(workspace)

Apply the default layout to a workspace

Window

Some methods need a HL.Winfow as argument, to use the current window:

miaout.window.current:method()

Navigation

miaout.window:MoveToNextWorkspace(window)

Move the window to the next workspace

miaout.window:MoveToPrevWorkspace(window)

Move the window to the previous workspace

miaout.window:MoveToNextMonitorWorkspace(window)

Move the window to the next monitor workspace

miaout.window:MoveToPrevMonitorWorkspace(window)

Move the window to the previous monitor workspace

miaout.window:MoveToNextMonitor(window)

Move the window to the next monitor

miaout.window:MoveToPrevMonitor(window)

Move the window to the previous monitor

miaout.window:SwapWindows(windowA, windowB)

Swap windowA with windowB (with current, swap with the last active window)

Fullscreen States

miaout.window:Fullscreen(window)

Puts the window in full screen (toggle switch)

miaout.window:Maximise(window)

Maximise the window (toggle switch)

miaout.window:Default(window)

Reset the window fullscreen state to the default value

miaout.window:UpScale(window)

Enlarge the window size according to the config

miaout.window:DownScale(window)

Reduce the window size according to the config

About

A really s̶i̶m̶p̶l̶e̶ *overengineered* layout/workspace/window "manager" for hyprland lua config

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages