Skip to content

Commit

Permalink
flake.lock: update inputs
Browse files Browse the repository at this point in the history
eww: use upstream, patch no longer needed
  • Loading branch information
fufexan committed Jul 29, 2023
1 parent 8330b0a commit b7c2f0e
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 73 deletions.
129 changes: 64 additions & 65 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
};

eww = {
url = "github:fufexan/eww/globalstyle";
url = "github:elkowar/eww";
inputs.nixpkgs.follows = "nixpkgs";
inputs.rust-overlay.follows = "rust-overlay";
};
Expand Down
7 changes: 1 addition & 6 deletions home/programs/eww/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ The same daemon runs multiple windows which interact with each other:

## ❔ Usage

NOTE: You will either need to patch your eww with [this commit](https://github.com/fufexan/eww/commit/471d3945cf2c6c7c03148a7199ac6896214054ed)
or remove the `:globalstyle` attribute in `windows/music.yuck`.

For flake users, you can use my fork (`github:fufexan/eww/globalstyle`). I'll
keep it rebased.

### Home Manager

If you use Home Manager, installing is as simple as adding my flake to your
Expand Down Expand Up @@ -68,6 +62,7 @@ Dependencies:
(any variation can be used as long as you change the `font-family` property of `.icon`)
- Text font: [Product Sans](https://befonts.com/product-sans-font.html)
- Script deps: everything in `default.nix`'s `dependencies` list.
- [gross](https://github.com/fufexan/gross)

## 🎨 Theme

Expand Down
2 changes: 1 addition & 1 deletion home/programs/eww/windows/music.yuck
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
(scale
; transform scale position percentage into song position
:onchange "playerctl position `awk -v len=$(playerctl metadata mpris:length) 'BEGIN{print {} * len / 1000000 / 100}'`"
:globalstyle ".top { background: ${music.foreground}; }"
:css ".top { background: ${music.foreground}; }"
:value {music_time.position_percent}))))))

(defwindow music
Expand Down

0 comments on commit b7c2f0e

Please sign in to comment.