Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Sway autotiling manager

License

NotificationsYou must be signed in to change notification settings

Difrex/swaymgr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TheSwaywm autotiling manager.

This project adds a autotiling feature to the SwayWM based on thegosway IPC library.

Install

Build

You need a Go installed in your system.

git clone https://github.com/Difrex/swaymgr.gitcd swaymgr/swaymgrgo get -vgo build -o~/.local/bin/swaymgr.

From AUR

swaymgr package is available in the Arch Linux AUR. Install it with the favorite tool.

Configure

  • Autostart swaymgr

    Add this to the config:

    exec --no-startup-id swaymgr
  • Set keybindings for changing layouts setup

bindsym --to-code $mod+Alt+s exec swaymgr -s 'set spiral'bindsym --to-code $mod+Alt+l exec swaymgr -s 'set left'bindsym --to-code $mod+Alt+m exec swaymgr -s 'set manual'

Commands

Commands can be sended to the control socket by the-s option.

  • get layout -- returns information about current focused workspace in the JSON format

    swaymgr -s 'get layout' | jq{    "name": "2:",    "layout": "spiral",    "managed": true}
  • set spiral -- mark workspace as managed and set it to the spiral windows placement

    swaymgr -s 'set spiral'
  • set left -- mark workspace as managed and set it to the left windows placement

    swaymgr -s 'set left'
  • set manual -- mark workspace as unmanaged

    swaymgr -s 'set manual'

Known issues

  • Only spiral layout is working fine.

  • Left layout is buggy.


[8]ページ先頭

©2009-2025 Movatter.jp