Giter Site home page Giter Site logo

eww-workspace-bar's Introduction

eww-workspace-bar

Workspace overlay written for Eww

Works on X11 using wmctrl (view pre-Hyprland commits if you have issues)

Works on Hyprland using hyprctl (includes entire bar)

Shows an icon preview of workspaces like many bars, but is dynamic and based on the windows on particular workspaces.

Also supports multiple icons, 1 for each window.

Preview with latte-dock

This bar only outputs as transparent, so this example is in conjunction with latte-dock on KDE Plasma 5.

Tunables

You can/should edit a few things, namely in parse_workspaces.py, for your own custom icon map:

# EDIT THIS FOR YOUR OWN ICONS
# To find process name, you can use
# ps aux | grep <process>
# Then truncate the process down to 15 charactes
# ex:
# /bin/plasma-systemmonitor => plasma-systemmo
icon_map = {
        "firefox": "",
        "kitty": "",
        "emacs-gtk": "",
        "dolphin": "",
        "plasma-systemmo": "",
        "no-icon": "",
        "default": ""
}

There are also some tunables in the eww.yuck file itself:

;; Enables process name preview on selected workspace
(defvar enable_process_name false)

;; Shows the workspace number beside the icon
(defvar enable_workspace_number true)

;; Enables multiple icon previews per workspace
(defvar enable_multiple_icons true)

eww-workspace-bar's People

Contributors

jrachele avatar nybbles 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.