bsp-layout

Manage layouts in bspwm (tall and wide)
授权协议 MIT License
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 薛俊美
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

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.

Looking for maintainers

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 6Not specifying the layout will apply the layout on the focused desktop
bsp-layout set tall 6
  • Set tall layout to desktop with a 40% splitSet 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 6This will remove any layout applied
bsp-layout remove 6
  • Apply a layout on your focused workspace onceThis 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 layoutsCycle 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;
  • 背景 2450从nandflash启动,CPU会自动拷贝nandflash前8K到CPU内部SRAM中   描述 Block0烧录nboot(steppingstone),主要任务从nandflash上拷贝eboot到地址为0x30038000(物理地址,因为MMU disabled)的RAM上,然后跳转到eboot进入点函数startup中. Block1烧录TOC,就是image(eboot,

  •   需求及解决方案: 1,创建一个数据库表,例如两个字段:ID (char 5),STATUS(char 5),输入几条数据记录 2,创建一个ABAP程序实现屏幕上输入ID号及STATUS,执行时根据对应的ID号更新数据库表中的数据.功能实现后,为此程序创建一个T_code 3,创建一个BSP程序,实现call ABAP 程序的T_code来实现数据更新(因为发现不能直接使用call transc

  • ***module_bsp*** prtHardInfo Start at 2021-07-05 15:54:14 Serial NO :DS-2CD2347FWD-LS20210323AACHF69294475 V5.5.125 build 210106 NetProcess Version: 2.6.1.202346 [16:07:27-Sep 1 2020] Path: /Camera

 相关资料
  • 1. Rokid Kamino18 Universal Install Guide V2.5 Rokid Kamino18 Universal Install Guide STRICTLY PROPRIETARY and CONFIDENTIAL The material in this document is the intellectual property of Rokid. It is p

  • 本文向大家介绍BSP树作为多维搜索结构,包括了BSP树作为多维搜索结构的使用技巧和注意事项,需要的朋友参考一下 空间搜索结构基于60年代和70年代在计算机科学中发明的相同思想,用于解决快速处理大量符号数据而不是几何数据(例如人名列表)的问题。发明了一种方法,首先通过根据字母对名称列表进行排序,然后将排序后的列表存储在数组中,就可以使用二进制搜索算法(而不是n / 2)来计算log2n操作中列表中是

相关阅读

相关文章

相关问答

相关文档