Git Product home page Git Product logo

waypanel's Introduction

waypanel

output-DP-1

Gtk4/Adwaita panel made for wayfire

The core of this panel lies in leveraging a shell overview, reminiscent of GNOME, to elegantly showcase all windows, dock bars, and more. Its primary goal is to optimize CPU usage exclusively during non-overview mode. The panel actively monitors command output, title changes, and widgets only when the overview is active in the background. This means that no unnecessary checks will occur, ensuring that CPU usage remains as low as possible.

How to Install waypanel

This guide provides step-by-step instructions to install waypanel, both using pip and via git. It also includes instructions for setting up a virtual environment.

Method 1: Installing waypanel using pip

Step 1: Set Up a Virtual Environment (Recommended)

Create a virtual environment:

python3 -m venv waypanel-env

Activate the virtual environment:

source waypanel-env/bin/activate

Install waypanel:

pip install waypanel

Step 2: Run waypanel

After installation, you can run waypanel using:

/path/to/waypanel-env/bin/waypanel

Step 4: Add Environment Activation to Shell Startup

To automatically activate the virtual environment when you navigate to your project directory, you can add the following lines to your .bashrc, .zshrc, or equivalent shell configuration file:

source /path/to/waypanel-env/bin/activate

Method 2: Installing waypanel from github Source

Step 1: Clone the waypanel Repository

Clone the waypanel repository from GitHub:

git clone https://github.com/killown/waypanel.git
cd waypanel

Step 2: Set Up a Virtual Environment (Recommended)

Create a virtual environment:

  python3 -m venv waypanel-env

Activate the virtual environment:

  source waypanel-env/bin/activate

Step 3: Install waypanel

Once the virtual environment is activated, install waypanel using the following command:

python3 -m pip install .

wayfire.ini

required plugins: stipc, scale, ipc, ipc-rules

minimal panel setup

panel.toml [monitor]

Current features

  • Dockbar
  • Information panel with numerous features
  • Top panel with a GNOME appearance
  • Custom CSS customizations
  • Panel for workspace navigation
  • Bar with various positions: on top (exclusive) or in the background behind all windows
  • Easily create custom menus using TOML
  • Configuration for custom gesture actions for mouse buttons and scrolling
  • Configuration for custom gestures for the top left and top right panels, offering more command possibilities
  • Lightweight with low CPU usage, as it doesn't monitor Bluetooth, network, and other functionalities
  • Adjust sound volume using the mouse wheel in the top bar.

Info from focused window

  • CPU
  • MEM
  • Disk
  • take notes of every window
  • pid
  • current workspace

Create custom output in the top bar using toml


[some_name]
refresh = 1000 #in ms
position = "center" #left center right
cmd = "command" #command or script
css_class = "css_class" #to customize the widget look

Create new menus in the top bar using toml


[[MyMenu.item_1]]
cmd = "command"
name = "Menu Label"

[[MyMenu.item_2]]
cmd = "command"
name = "Menu Label"
submenu = "submenu_name"

License

waypanel is licensed under the MIT license. See LICENSE for more information.


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.