2024-02-12 05:27:05 +00:00
|
|
|
{addPatches, ...}: _final: prev: {
|
|
|
|
sway-unwrapped = addPatches prev.sway-unwrapped [
|
2024-02-24 18:39:46 +00:00
|
|
|
# text_input: Implement input-method popups
|
|
|
|
# https://github.com/swaywm/sway/pull/7226
|
|
|
|
(prev.fetchpatch {
|
|
|
|
url = "https://github.com/swaywm/sway/commit/d1c6e44886d1047b3aa6ff6aaac383eadd72f36a.patch";
|
|
|
|
hash = "sha256-LsCoK60FKp3d8qopGtrbCFXofxHT+kOv1e1PiLSyvsA=";
|
|
|
|
})
|
|
|
|
|
2024-02-20 09:33:22 +00:00
|
|
|
# Tray D-Bus Menu
|
|
|
|
# https://github.com/swaywm/sway/pull/6249
|
|
|
|
(prev.runCommand "2f304ef0532a45d00b2ec2c7fc63adef0aec7607.patch" {} ''
|
|
|
|
cat ${prev.fetchpatch {
|
|
|
|
url = "https://github.com/swaywm/sway/commit/2f304ef0532a45d00b2ec2c7fc63adef0aec7607.patch";
|
|
|
|
hash = "sha256-nd+Z6A7GE5Go7QxXOI+hiLWQiXegsQatcNfxEsXgamI=";
|
|
|
|
}} | sed "s/int surface_x, surface_y, surface_width, surface_height;/int surface_x, surface_y, surface_width, surface_height = 0;/g" > $out
|
|
|
|
'')
|
2024-02-12 05:27:05 +00:00
|
|
|
];
|
|
|
|
}
|