Comments (12)
@oschoudhury, @LuchiLucs, @Lucienya, @cljoly If you're still using i3status-rust then perhaps #947 may be of interest.
from i3status-rust.
I would be happy with option 1, I just want to see the individual blocks immediately in one go ;)
from i3status-rust.
For example:
[[block]]
block = "sound"
headphones_indicator = true
[block.theme_overrides]
idle_fg = "#ff0000ff"
idle_bg = "#000000ff"
from i3status-rust.
Could be a feature, but keep in mind that the blocks don't control the color themselves- they may only report a 'state', e.g. critical, good, idle and warning, which is then used to determine the color based on the theme. I have two propositions:
- Specify an
alternating_tint
property in the theme, which is then applied as an additive color tint to alternating blocks (e.g. when the color is RGB 0,10,10 and the tint is 0,0,10 then the resulting color is 0,10,10). - Allow the user to override all possible state colors for each block. While being the most flexible solution, this entails significant implementation effort and a lot of effort to configure on the user's side. Also, themes created this way can hardly be shared or implemented as a fixed theme independent from the specific configuration of blocks.
from i3status-rust.
Check out the current implementation, certainly still needs improvement but some of the functionality is there
from i3status-rust.
I first thought it wasn't working but overriding the alternating tint works fine. May I recommend that you use the base02/base2 colours (http://ethanschoonover.com/solarized) or one of the other colours for solarized dark? Thanks for the quick solution, this is looking a lot better now!
from i3status-rust.
@greshake I would happy with option 2. I think that will be an appealing features for many users, to be able to customize the look of the bar as they want. What about implementing a property for each block where you can specify the theme of that block through a JSON/TOML file?
example: I set the standard theme solarized-dark for the bar and the I override some block themes throught the property of the block. User would only download the themes they want (.JSON) and add theme in the .TOML configuration file
from i3status-rust.
@LuchiLucs Were you successful in applying specific colors to each of the blocks? And would you mind telling me how's it possible actually ?
from i3status-rust.
And I guess there's already a way to do since the picture in the given project shows us every block has it's own colorscheme. @greshake so how did you manage to override the mentioned colors in each block ?
from i3status-rust.
@Tintin512 I don't think so. I haven't been using it in a while.
from i3status-rust.
@Lucienya The colours in the image are due to the various states of each block with one of the default colour schemes; they are not set individually. It is not currently possible to customize the colour scheme of individual blocks via the configuration file.
This issue is pretty stale, so I'm going to close it for now.
from i3status-rust.
That’s awesome, thanks @ammgws!
from i3status-rust.
Related Issues (20)
- privacy block ignores webcam HOT 4
- Theme no longer being applied in swaybar after update HOT 4
- new privacy block seems to create some instability when switching on and off display outputs HOT 1
- new privacy block causes i3status-rs to be unstable in some conditions, especially when gamescope and certain games are launched HOT 1
- feature: add `format_alt` and `format_list` to all blocks HOT 3
- Wrong icons in sound block HOT 5
- Upgrading an old configuration to later i3status-rust versions HOT 6
- Typo in GitHub repository About description, "resourcefriendly" should be "resource-friendly"
- How to hide sound blocks for devices that are not present? (bluetooth/USB headsets, etc) HOT 4
- .Xresources color definition import? HOT 2
- Feature: Add support for non sway/i3 wayland compositors HOT 1
- amd_gpu: improve the error when a device does not exist HOT 3
- Implement format_alt for sound block HOT 4
- Battery block not showing battery percentage HOT 1
- `headphones_indicator` set to `true` doesn't show when headphones are connected HOT 12
- eng formatter: support prefixes in the range argument
- `sound`: Make the warning status when muted configurable HOT 2
- Request: DNS information to network block HOT 7
- keyboard_layout span colors HOT 2
- Revert empty battery state to charging when plugged in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3status-rust.