swaync: fix build (github patch changed)
This commit is contained in:
parent
23c46079a9
commit
5630b6d8d7
|
@ -116,8 +116,15 @@ in
|
||||||
package = pkgs.rmDbusServices (pkgs.swaynotificationcenter.overrideAttrs (upstream: {
|
package = pkgs.rmDbusServices (pkgs.swaynotificationcenter.overrideAttrs (upstream: {
|
||||||
# allow toggle buttons:
|
# allow toggle buttons:
|
||||||
patches = (upstream.patches or []) ++ [
|
patches = (upstream.patches or []) ++ [
|
||||||
|
# (pkgs.fetchpatch {
|
||||||
|
# url = "https://github.com/ErikReider/SwayNotificationCenter/pull/304.patch";
|
||||||
|
# name = "Add toggle button";
|
||||||
|
# hash = "sha256-bove2EXc5FZ5nN1X1FYOn3czCgHG03ibIAupJNoctiM=";
|
||||||
|
# })
|
||||||
(pkgs.fetchpatch {
|
(pkgs.fetchpatch {
|
||||||
url = "https://github.com/ErikReider/SwayNotificationCenter/pull/304.patch";
|
# import of <https://github.com/ErikReider/SwayNotificationCenter/pull/304>
|
||||||
|
# as of 2023/11/08 the upstream patch has merge conflicts AND runtime issues (see wip-swaync-update nixos branch)
|
||||||
|
url = "https://git.uninsane.org/colin/SwayNotificationCenter/commit/d9a0d938b88cbee65cfaef887af77a5a23d5fe89.patch";
|
||||||
name = "Add toggle button";
|
name = "Add toggle button";
|
||||||
hash = "sha256-bove2EXc5FZ5nN1X1FYOn3czCgHG03ibIAupJNoctiM=";
|
hash = "sha256-bove2EXc5FZ5nN1X1FYOn3czCgHG03ibIAupJNoctiM=";
|
||||||
})
|
})
|
||||||
|
@ -145,11 +152,11 @@ in
|
||||||
background: rgba(0, 0, 0, 0.5);
|
background: rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
.widget-buttons-grid>flowbox>flowboxchild>button.toggle {
|
||||||
/* text color for inactive buttons, and "Clear All" button.*/
|
/* text color for inactive buttons, and "Clear All" button.*/
|
||||||
color: rgb(172, 172, 172);
|
color: rgb(172, 172, 172);
|
||||||
}
|
}
|
||||||
button.active {
|
.widget-buttons-grid>flowbox>flowboxchild>button.toggle.active {
|
||||||
color: rgb(255, 255, 255);
|
color: rgb(255, 255, 255);
|
||||||
background-color: rgb(0, 110, 190);
|
background-color: rgb(0, 110, 190);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user