Giter VIP home page Giter VIP logo

stagen's Introduction

What's this ?

Stage with some additional features.

Mirror of stage-next

Stagen with pseudo tile

The additional features are :

Additional features.
  • Tap to click support, for touchpad laptop users.
  • Close window function, to close window via keybind.
  • Window manipulation function via keybind.
    • Move window to any direction (left, right, up, down and center).
    • Resize window to any direction (left, right, up, down and half width and height of screen).
    • Maximize window.
    • Snap window to any direction (left, right, up, down and center).
    • Pseudo minimize.
    • Fullscreen window.
  • launcher (wofi).
  • Screencopy protokol to support screenshot.
  • Primary selection protocol.
  • Simple background color.
  • Simple exclusive zone to place a bar / panel at right, toggleable. The only tested and working panel is lxqt-panel.
  • Simple rule for a specific app_id / title, e.g for lxqt-panel.
  • Screenshot via external tool (grim), for fullscreen screenshot and focused-window screenshot.
  • Simple show desktop.
  • Send to desktop, send all minimized windows back to desktop / surface.
  • Cursor theme option, we can set the cursor theme using these envs, XCURSOR_THEME (cursor theme) and XCURSOR_SIZE (cursor size).
  • Window maximizing and minimizing via decoration button.
  • Support for simple virtual keyboard and virtual pointer support, allowing us to use tools that need virtual keyboard and virtual pointer support (e.g. wtype, ydotool).
  • Simple popup unconstrain, works on maximized window only.
  • Workspace feature, optional.
  • Half_width_height function, resizing window so the window has half width and height of screen.
  • Support for compilation / build using meson.

By default, The available shortcut are :

Shortcut.
  • mod + enter : Open terminal (foot).
  • mod + p : Open launcher (wofi).
  • mod + h : maximize window vertically to left.
  • mod + l : maximize window vertically to right.
  • mod + f : maximize window.
  • mod + shift + f : fullscreen window.
  • mod + Shift + q : close / quit compositor.
  • mod + q : close / kill window.
  • mod + j : send window to the lowest / minimize.
  • mod + k : send window to the highest position.
  • mod + {left, right, up, down} : move window to left, right, up, down.
  • mod + shift + {l, h, k, j} : resize window to left, right, up, down.
  • mod + shift + {r, e, t, w} : move window to most left, right, up, down of the screen.
  • mod + Tab : cycle window.
  • mod + z : toggle exclusive zone.
  • mod + w : screenshot for the focused-window.
  • mod + shift + p : screenshot for fullscreen.
  • mod + {0,1,2,..,9} : change focus to workspace 0 - 9.
  • mod + shift + {0,1,2,..,9} : send window to desired workspace.
  • mod + shift + o : resize window so the window has half width and height of screen.

Dependency.

Stagen has dependency on wlroots library, check on wlroots 0.17.1. We will also make a branch which follow the latest development of wlroots.

How to build, install and run.

These are steps to build, install and run.

Click to expand.
  1. Adjust the setting or configuration at conf/config.h !

  2. Adjust the keybind / shortcut at stage.c, check at handle_keybinding function (optional) !

  3. Build with meson and ninja !

    $ meson setup build
    $ ninja -C build
    
  4. Install with ninja -C build install to install stagen !

  5. To make screenshot work properly, run stage with this command !

    $ /path/to/stage > ~/.cache/tiny_info
    
  6. Don't Forget to copy the screenshot script "misc/ss_window" to your $PATH !

  7. We can run stage using custom cursor theme using these envs, XCURSOR_THEME (cursor theme) and XCURSOR_SIZE (cursor size).

    $ XCURSOR_THEME=your_cursor_theme XCURSOR_SIZE=cursor_size /path/to/stage > ~/.cache/tiny_info
    

stagen's People

Contributors

lidgnulinux avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

stagen's Issues

Non-existent header & failing on build (slackware).

Strange enough, we found that wlr/types/wlr_idle.h header don't exist on wlroots 0.17.1 but somehow, stagen is built successfully (on ubuntu & alpine). Sane enough for slackware, the built will fail cause that header really don't exist.

Remove Makefile ?

Since we already have meson.build, should we remove all Makefiles ?

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.