https://github.com/jasonmxyz/sxwm
Superior X Window Manager
https://github.com/jasonmxyz/sxwm
c window-manager x11
Last synced: 7 months ago
JSON representation
Superior X Window Manager
- Host: GitHub
- URL: https://github.com/jasonmxyz/sxwm
- Owner: jasonmxyz
- Created: 2021-05-01T21:21:11.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-08T12:55:29.000Z (about 4 years ago)
- Last Synced: 2024-05-11T09:33:42.100Z (about 2 years ago)
- Topics: c, window-manager, x11
- Language: C
- Homepage:
- Size: 328 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ricing - sxwm - Superior X Window Manager. (C) (Packages / window-managers)
README
# SXWM: Superior X Window Manager
SXWM is a window manager for X inspired by DWM, i3, and other tiling window
managers. Windows are assigned to tags, and are automatically arranged on the
screen in a stacked layout making the most of your monitor. SXWM is easily
configurable in the config file and is designed to be as extensible as
possible.
Created by [Jason Moore](https://github.com/jasonmxyz/)
## Building
The required build tools are: `gcc`, `make`
You will also require the necessary libraries `glibc`, `libx11`, `xorgproto`
make sxwm
make sxwmbar
## Usage
You can test SXWM using make by running
make test
If you're feeling brave you can add SXWM to your `.xinitrc` and see just how
unfinished it is.
sxwm [--help] [--config ]
## Configuration
SXWM is capable of reading from a config file specified as a command line
argument. Use the `-c` or `--config` command line option to specify a
configuration file. There is an example config file in `share/defaultconfig`
which you could use as a start. It shows off the commands available.
sxwm -c ./share/defaultconfig
sxwm --config=./share/defaultconfig
Comments in the configuration file are denoted with `#` symbols.
# This line is a comment
run some program # This is a comment at the end of a line
Bind a key combination to an internal function with the `bind` operation.
bind win+1 selectTag 1
bind win+shift+q exit
Use the `run` and `start` operations to execute another program in the same or
in a new session.
run ./sxwmbar # Will stop running when you close SXWM
start another program # Will continue running after SXWM finishes