mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 09:15:22 +01:00
[PR #27] [MERGED] feat: new custom module #7482
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#7482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/ironbar/pull/27
Author: @JakeStanger
Created: 10/16/2022
Status: ✅ Merged
Merged: 10/23/2022
Merged by: @JakeStanger
Base:
master← Head:feat/custom-widget📝 Commits (2)
3750124feat: new custom module2a3fe33build: remove no longer required patch, reduce build times📊 Changes
10 files changed (+351 additions, -166 deletions)
View changed files
📝
Cargo.lock(+31 -126)📝
Cargo.toml(+6 -9)➕
examples/custom.corn(+25 -0)📝
src/bar.rs(+4 -0)📝
src/config.rs(+3 -1)📝
src/main.rs(+1 -0)➕
src/modules/custom.rs(+241 -0)📝
src/modules/mod.rs(+1 -0)📝
src/modules/script.rs(+4 -30)➕
src/script.rs(+35 -0)📄 Description
Allows basic modules to be created from a config object, including popup content.
For example, this config (+ some CSS):
Produces:
I think this is the best way to handle #10.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.