Git Product home page Git Product logo

mwm's Introduction

mwm

My window manager that is a work in progress. Currently hacky

Wayland support

I'm currently working on a Wayland implementation, find it in the wayland branch.

Installation

Clone this repo then:

make install

This will install the binaries in /usr/local/bin. Then add this to your xinitrc:

exec mwm

Configuring

There are config toml files in the src and statusbar directories that you can customize.

You can make a symlink to these files in ~/.config/mwm/.

Screenshots

Screenshot of mwm Screenshot of mwm

mwm's People

Contributors

monroeclinton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mwm's Issues

no ~/.config/mwm/config.toml file

> c r
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
     Running `target/debug/mwm`
thread 'main' panicked at src/config.rs:63:10:
Unable to read config.toml file from ~/.config/mwm/config.toml: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/result.rs:1654:5
   3: core::result::Result<T,E>::expect
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/result.rs:1034:23
   4: mwm::config::get_config
             at ./src/config.rs:62:23
   5: mwm::main
             at ./src/main.rs:140:26
   6: core::ops::function::FnOnce::call_once
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

I don't see any config file in the repo, so i thought i would report this issue

Link your youtube-video in the README

Hi there,

just found this project through your YT-video. Maybe you want to link that YT-video in your README somewhere? I think that video gives a great insight on how this all works. Someone coming here from GitHub search or from a search engine might not get whats going on, so a cross-reference might help to understand this project a bit better.

Probably not a real but, but maybe an improvement.

Unable to parse .toml

thread 'main' panicked at 'Unable to parse toml config.: Error { inner: Error { inner: TomlError { message: "invalid type: integer `8`, expected a sequence", original: Some("# Border thickness\nborder_thickness = 2\n\n# Space between windows\nborder_gap = 4\n\n# Color of border around windows when active\nactive_border = 0x56b6c2\n\n# Color of border around windows when inactive\ninactive_border = 0x4b5263\n\n# What modifier to switch workspace\nworkspace_modifier = 0x0008 # key: l-alt\n\n# What modifier to move window to workspace\nworkspace_move_window_modifier = 0x0009 # key: l-alt + shift\n\n# Autostart the following programs\nautostart = [\n \"statusbar\"\n]\n\n# List of actions that the window manager handles\n[[actions]]\nmodifier = 0x0009 # key: l-alt + shift\nkeysym = 0x0063 # key: c\naction = \"Close\"\n\n[[actions]]\nmodifier = 0x0008 # key: l-alt\nkeysym = 0x006b # key: k\naction = \"SelectAbove\"\n\n[[actions]]\nmodifier = 0x0008 # key: l-alt\nkeysym = 0x006a # key: j\naction = \"SelectBelow\"\n\n[[actions]]\nmodifier = 0x0008 # key: l-alt\nkeysym = 0x0068 # key: h\naction = \"ShrinkFront\"\n\n[[actions]]\nmodifier = 0x0008 # key: l-alt\nkeysym = 0x006c # key: l\naction = \"ExpandFront\"\n\n# List of commands that are executed\n[[commands]]\nmodifier = 0x0008 # key: l-alt\nkeysym = 0x0070 # key: p\ncommand = \"selector_run\"\n\n[[commands]]\nmodifier = 0x0008 # key: l-alt\nkeysym = 0x0073 # key: s\ncommand = \"st\"\n"), keys: ["workspace_modifier"], span: Some(284..290) } } }
error that appears when trying to launch the application

failed to run

Im trying to understand how to make WM's in rust with ur project but it wont launch or work for some reason.
here's my neofetch:
image
and here's the output when i execute your project :
image

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.