一个小小的浮动窗口管理器(250~ sloc / 24kb compiled!).

网友投稿 714 2022-10-30

一个小小的浮动窗口管理器(250~ sloc / 24kb compiled!).

一个小小的浮动窗口管理器(250~ sloc / 24kb compiled!).

sowm (Simple Shitty Opinionated Window Manager)

An itsy bitsy floating window manager (220~ sloc!).

Floating only.Fullscreen toggle.Window centering.Mix of mouse and keyboard workflow.Focus with cursor.Rounded corners (through patch)Titlebars (through patch)

Alt-Tab window focusing.All windows die on exit.No window borders.No ICCCM.No EWMH.etc etc etc

Patches available here: https://github.com/dylanaraps/sowm/pulls

Default Keybindings

Window Management

comboaction
Mousefocus under cursor
MOD4 + Left Mousemove window
MOD4 + Right Mouseresize window
MOD4 + fmaximize toggle
MOD4 + ccenter window
MOD4 + qkill window
MOD4 + 1-9desktop swap
MOD4 + Shift +1-9send window to desktop
MOD1 + TAB (alt-tab)focus cycle

Programs

comboactionprogram
MOD4 + Returnterminalst
MOD4 + ddmenudmenu_run
MOD4 + pscrotscr
MOD4 + wwallpaper cyclerbud
XF86_AudioLowerVolumevolume downamixer
XF86_AudioRaiseVolumevolume upamixer
XF86_AudioMutevolume toggleamixer
XF86_MonBrightnessUpbrightness upbri
XF86_MonBrightnessDownbrightness downbri

Dependencies

xlib (usually libX11).

Installation

Copy config.def.h to config.h and modify it to suit your needs.Run make to build sowm.Copy it to your path or run make install. DESTDIR and PREFIX are supported. (Optional) Apply patch with git apply patches/patch-nameIn case of applying multiple patches, it has to be done manually.

If you are using GDM, save the following to /usr/share/xsessions/sowm.desktop. It is still recommended to start sowm from .xinitrc or through your own xinit implementation.

[Desktop Entry]Name=sowmComment=This session runs sowm as desktop managerExec=sowmType=Application

Thanks

2bwmSmallWMberrycatwmdminiwmdwmmonsterwmopenboxpossumwmswmtinywm

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:2022华东杯A题核酸检测问题思路讲解
下一篇:一套整合主流HTTP网络、图片加载、MVP架构的快速高效的开发框架
相关文章

 发表评论

暂时没有评论,来抢沙发吧~