Code Monkey home page Code Monkey logo

leftwm's Introduction

LeftWM - A window manager for Adventurers

Why go left

Left is a tiling window manager written in rust for stability and performance. The core of left is designed to do one thing and one thing well. Be a window manager. Because you probably want more than just a black screen LeftWM is built around the concept of theming. With themes you can choose between different bar / compositor / background / colors, whatever makes you happy.

LeftWM has been built from the very beginning to support multiple screens and has been built around ultrawide monitors. You will see this with the default key bindings

Left is NOT

Left is not a compositor.

Left is not a lock screen.

Left is not a bar there are lots of good bars out there. With themes, picking one is as simple as setting a symlink.

Config

The settings file to change key bindings and the default mod key can be found at

~/.config/leftwm/config.toml

Default keys

Mod + (1-9) => switch to a desktop/tag
Mod + shift + (1-9) => move the focused window to desktop/tag
Mod + w => switch the desktops for each screen. Desktops [1][2] changes to [2][1]
Mod + shift + w => move window to the other desktop
Mod + (⬆️⬇️) => Focus the different windows in the current workspace
Mod + Shift + (⬆️⬇️) => Move the different windows in the current workspace
Mod + Ctrl + (⬆️⬇️) => Switch between different layouts
Mod + shift + enter => open a terminal
Mod + ctrl + L => lock the screen
Mod + shift + Q => close the current window
Mod + shift + R => reload LeftWM and it's config

Workspaces

By default workspaces have a one to one relationship with screens, but this is configurable. There are many reasons you might want to change this, but the main reason is for ultrawide monitors. You might want to have two or even three workspaces on a single screen.

Here is an example config changing the way workspaces are defined (~/.config/leftwm/config.toml)

[[workspaces]]
y = 0
x = 0
height = 1440
width = 1720

[[workspaces]]
y = 0
x = 1720
height = 1440
width = 1720

Tags / Desktops

The default tags are 1-9. They can be renamed in the config file by setting the list of tags.

Here is an example config changing the list of available tags. NOTE: tag navigation (Mod + #) doesn't change based on the name of the tag

tags = ["Web", "Code", "Shell", "Music", "Connect"]

LeftWM is EWMH compliant.

One of the core concepts/features of LeftWM is theming

With left there are two types of configs. First there are config settings that are specific to you but don’t really change. These are settings like keybindings. Workspace locations, and names of desktops/tags. These settings can be found in ~/.config/leftwm/config.toml

The appearance of your desktop is different. It’s fun to try new looks and feels. It’s fun to tweak and customize the appearance ( AKA: ricing ). It’s fun to share so others can experience your cool awesome desktop. LeftWM is built around this concept. By pulling all these settings out into themes, you can now easily tweak, switch, and share your experiences.

Setup (with package manager)

LeftWM is available in AUR as well as crates.io. Both are good options for simple installation. Please note, if installing with crates.io you will need to link to the xsession desktop file if you want to be able to login to LeftWM from a graphical login screen.

sudo cp PATH_TO_LEFTWM/leftwm.desktop /usr/share/xsessions

Manual Setup (no package manager)

Using a graphical login such as LightDM, GDM, LXDM, and others

  1. copy leftwm.desktop to /usr/share/xsessions
  2. create a symlink to the build of leftwm so that it is in your path
cd /usr/bin
sudo ln -s PATH_TO_LEFTWM/target/debug/leftwm
sudo ln -s PATH_TO_LEFTWM/target/debug/leftwm-worker
sudo ln -s PATH_TO_LEFTWM/target/debug/leftwm-state

You should now see LeftWM in your list of available window managers.

Starting with startx or a login such as slim

make sure this is at the end of your .xinitrc file

exec dbus-launch leftwm

Select a theme

If you want to see more than a black screen when you login, select a theme

mkdir -p ~/.config/leftwm/themes
cd ~/.config/leftwm/themes
ln -s PATH_TO_THE_THEME_YOU_LIKE current

leftwm's People

Contributors

chilledfrogs avatar lex148 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.