Giter Site home page Giter Site logo

wavy's Introduction

                                                                      _ __
 _      ______ __   ____  __   _________  ____ ___  ____  ____  _____(_) /_____  _____
| | /| / / __ `/ | / / / / /  / ___/ __ \/ __ `__ \/ __ \/ __ \/ ___/ / __/ __ \/ ___/
| |/ |/ / /_/ /| |/ / /_/ /  / /__/ /_/ / / / / / / /_/ / /_/ (__  ) / /_/ /_/ / /
|__/|__/\__,_/ |___/\__, /   \___/\____/_/ /_/ /_/ .___/\____/____/_/\__/\____/_/
                   /____/                       /_/

Wavy wayland compositor

NB: This is higly experimental (very alpha). Use sway or something else with less bugs instead.

Description

Wavy is a tiling wayland compositor based on wlc, inspired by herbstluftwm, i3, awesome and dwm. Parts of the implementation are heavily inspired by sway. Its design goal is to be configurable and programmable with a simple Lua interface. Configuration shouldn't rely on complicated shell scripts, but aim to be a nicely integrated system that can be easily modified and expanded. For a commented example configuration see config/config.lua

It also comes with a status bar included!

Building

Dependencies:

  • cmake
  • wlc
  • wayland
  • xwayland
  • xkbcommon
  • cairo
  • pango
  • lua (5.3)

Build steps:

cmake .
make

Thats it, you can run the binary now. Installation is not implemented at this point.

Todo list

  • Fix build system
  • Frame gaps
  • Documentation
  • Complete wallpaper support
  • Input configuration

wavy's People

Contributors

lutobler avatar pawkypenguin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wavy's Issues

Doesn't start with default config

All that happens is you get an error on stderr about receiving a string instead of a table. Anyway, here's the patch to fix it:

diff --git a/config/config.lua b/config/config.lua
index 433f910..eaf2bbf 100644
--- a/config/config.lua
+++ b/config/config.lua
@@ -101,17 +101,17 @@ bar = {
 -- modifiers: shift, super, alt, ctrl, caps, mod2, mod3, mod5
 
 modkey = "super"
-dmenu = {"dmenu_run"}
+dmenu = "dmenu_run"
 
 terminal = os.getenv("TERMINAL")
 if not terminal then
-    terminal = {"urxvt"}
+    terminal = "urxvt"
 end
 
 keys = {
     -- application shortcuts
-    {"spawn", {modkey}, "Return", terminal},
-    {"spawn", {modkey}, "d",      dmenu},
+    {"spawn", {modkey}, "Return", {terminal}},
+    {"spawn", {modkey}, "d",      {dmenu}},
 
     -- bindings to lua functions: a function with no arguments is expected.
     -- wrap functions with arguments in lambdas

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.