All Projects → phenax → Bsp Layout

phenax / Bsp Layout

Licence: mit
Manage layouts in bspwm (tall and wide)

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Bsp Layout

sway-alttab
Simple Alt-Tab daemon for SwayWM/i3. Switches back to previous focused window on Alt-Tab or SIGUSR1
Stars: ✭ 36 (-75.17%)
Mutual labels:  i3, window-manager
swayfire
Sway/I3 inspired tiling window manager for Wayfire
Stars: ✭ 146 (+0.69%)
Mutual labels:  i3, window-manager
I3wm Config
my i3wm config
Stars: ✭ 196 (+35.17%)
Mutual labels:  i3, window-manager
I3wsr
Change i3-wm workspace names based on content
Stars: ✭ 107 (-26.21%)
Mutual labels:  i3, window-manager
Vlayout
Project vlayout is a powerfull LayoutManager extension for RecyclerView, it provides a group of layouts for RecyclerView. Make it able to handle a complicate situation when grid, list and other layouts in the same recyclerview.
Stars: ✭ 10,818 (+7360.69%)
Mutual labels:  layout
Widgetlayout
自定义ViewGroup的集合(有 kotlin 实现分支):提高编写效率和 UI 绘制性能,少嵌套,易用易扩展。
Stars: ✭ 130 (-10.34%)
Mutual labels:  layout
Involt
Inject hardware interactions directly into HTML layout.
Stars: ✭ 128 (-11.72%)
Mutual labels:  layout
Dotfiles
Configuration files for XMonad, Emacs, NixOS, Taffybar and more.
Stars: ✭ 127 (-12.41%)
Mutual labels:  window-manager
Dotfiles
Collection of i3-gaps Dotfiles
Stars: ✭ 143 (-1.38%)
Mutual labels:  i3
I3 Workspace Groups
Manage i3wm workspaces in groups you control
Stars: ✭ 139 (-4.14%)
Mutual labels:  i3
Motionlayoutsamples
A sample to take you to appreciate the charm of MotionLayout.
Stars: ✭ 135 (-6.9%)
Mutual labels:  layout
Autoresponsive Vue
Auto responsive grid layout library for Vue.
Stars: ✭ 132 (-8.97%)
Mutual labels:  layout
Uistatus
一个简单且强大的Ui状态视图控制库!
Stars: ✭ 137 (-5.52%)
Mutual labels:  layout
Popo
PoPo is the grid layout tool, the best choice for runtime layout.
Stars: ✭ 130 (-10.34%)
Mutual labels:  layout
Android Statefullayout
A custom Android ViewGroup to display different states of screen (CONTENT, PROGRESS, OFFLINE, EMPTY, etc.)
Stars: ✭ 140 (-3.45%)
Mutual labels:  layout
Xray React
React layout debugger.
Stars: ✭ 128 (-11.72%)
Mutual labels:  layout
Framezilla
Elegant library that wraps working with frames with a nice chaining syntax.
Stars: ✭ 134 (-7.59%)
Mutual labels:  layout
Azote
Wallpaper and colour manager for Sway, i3 and some other WMs
Stars: ✭ 138 (-4.83%)
Mutual labels:  i3
Pinlayout
Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]
Stars: ✭ 1,870 (+1189.66%)
Mutual labels:  layout
Wmfocus
Visually focus windows by label
Stars: ✭ 132 (-8.97%)
Mutual labels:  i3

bsp-layout

Manage layouts in bspwm (tall and wide)

BSPWM does one thing and it does it well. It is a window manager. But some workflows require layout management to some extent. bsp-layout fills that gap.

Buy Me A Coffee donate button

Dependencies

  • bash
  • bspc
  • bc
  • man

Installation

AUR

Arch users can install it from AUR bsp-layout or bsp-layout-git

# If you are using yay
yay -S bsp-layout

# Or for git master
yay -S bsp-layout-git

Install script

Others can install it directly using the install script.

Note: Please read scripts like these before executing it on your machine

curl https://raw.githubusercontent.com/phenax/bsp-layout/master/install.sh | bash -;

Clone and make

You can also clone the repo on your machine and run sudo make install in the cloned directory

Supported layouts

  • tall - Master-stack with a tall window.
_______________
|        |____|
|        |____|
|        |____|
|________|____|
  • rtall - Master-stack with a reversed tall window.
_______________
|____|        |
|____|        |
|____|        |
|____|________|
  • wide - Master-stack with a wide window.
_______________
|             |
|             |
|_____________|
|____|____|___|
  • rwide - Master-stack with a reversed wide window.
_______________
|____|____|___|
|             |
|             |
|_____________|
  • grid - Horizontal grid layout
_____________
|   |   |   |
|___|___|___|
|   |   |   |
|___|___|___|
  • rgrid - Vertical grid layout
_____________
|_____|_____|
|_____|_____|
|_____|_____|
  • even - Evenly balances all window areas
_______________
|___|____|____|
|___|____|____|
|___|____|____|

OR
_______________
|    |        |
|    |________|
|    |        |
|____|________|
  • tiled - Default bspwm's tiled layout
_______________
|        |    |
|        |____|
|        |  | |
|________|__|_|
  • monocle - Default bspwm's monocle layout
_______________
|             |
|             |
|             |
|_____________|

Usage

  • Help menu
bsp-layout help
  • Set a layout in desktop named 6 Not specifying the layout will apply the layout on the focused desktop
bsp-layout set tall 6
  • Set tall layout to desktop with a 40% split Set the master size for layout
// Currently focused workspace
bsp-layout set tall -- --master-size 0.4

// Workspace 6
bsp-layout set tall 6 -- --master-size 0.4
  • Remove layout applied to desktop named 6 This will remove any layout applied
bsp-layout remove 6
  • Apply a layout on your focused workspace once This will apply the layout on the current set of nodes on that workspace but newer nodes won't conform to the layout.
bsp-layout once tall
  • Cycle through layouts Cycle through all (or a custom list of) layouts.
# Cycle through all layouts
bsp-layout cycle

# Or to cycle through a custom list of layouts
bsp-layout cycle --layouts tall,monocle,wide

# For a specific desktop
bsp-layout cycle --layouts tall,monocle,wide --desktop 4
  • Toggle layout
# Toggle between monocle and tall layouts
bsp-layout cycle tall,monocle

Configuration

You can configure the size of the master window in percentage in $XDG_CONFIG_DIR/bsp-layout/layoutrc file. An example of that file can be found in example.layoutrc

mkdir ~/.config/bsp-layout && curl https://raw.githubusercontent.com/phenax/bsp-layout/master/example.layoutrc > ~/.config/bsp-layout/layoutrc;
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].