17 Dec 2024 |
linj | In reply to @adis:blad.is You can do that (finalAttrs), but it would make Emacs a very special snowflake in the nixpkgs ecosystem I just hacked out a fix using finalAttrs with backward compatibility for the .override interface. What do you think? https://github.com/NixOS/nixpkgs/pull/365784 | 05:29:48 |
linj | The exposing the Emacs derivation factory function way is more special and loses old patches. | 05:32:32 |
linj | * The exposing the Emacs derivation factory function way is more special (w.r.t. the user-facing side) and loses old patches. | 05:36:42 |
Stephen D | Is there anything special I need to do to get transparency working with i3 + picom + emacs? I have it working in my terminal fine but emacs is still completely opaque | 14:57:27 |
Stephen D | I have this in my emacs config: (set-frame-parameter nil 'alpha-background 90) | 14:57:37 |
@acidbong:envs.net | In reply to @stephen:crabsin.space Is there anything special I need to do to get transparency working with i3 + picom + emacs? I have it working in my terminal fine but emacs is still completely opaque no, picom applies transparency and stuff automagically | 16:02:44 |
@acidbong:envs.net | In reply to @stephen:crabsin.space I have this in my emacs config: (set-frame-parameter nil 'alpha-background 90) you need also add a cons (alpha-background . 90) to default-frame-alist : https://github.com/daviwil/dotfiles/blob/4032c3949e7a459ff73a1aa39d0f864810594a55/.emacs.d/modules/dw-core.el#L76 | 16:19:59 |
@acidbong:envs.net | but for some reason I can't apply transparency with either add-to-list 'default-frame-alist and set-frame-parameter | 16:21:20 |
| @acidbong:envs.net left the room. | 16:23:54 |
zororg | (modify-all-frames-parameters '((alpha-background . 100))
This works for me
| 17:43:54 |
zororg | When that feature came out, I read that it was only available for emacs PGTK build (i might be wrong) | 17:44:52 |
Stephen D | hm, maybe I should be using emacs-pgtk then | 18:22:20 |
Stephen D | alas, that did not help and gave me warnings that it's not supported | 18:45:08 |
magic_rb | its not im using it | 20:25:22 |
magic_rb | alpha-background i mean | 20:25:27 |
magic_rb | (add-to-list 'default-frame-alist '(alpha-background . 80)) does it for me | 20:25:48 |
Stephen D | I have both of these:
(set-frame-parameter nil 'alpha-background 80)
(add-to-list 'default-frame-alist '(alpha-background . 80))
But it doesn't seem to work | 20:28:12 |
18 Dec 2024 |
| @obsidianchickenz:tchncs.de left the room. | 02:42:32 |
| @dmiskovic:matrix.org joined the room. | 07:42:36 |
| lokidawg joined the room. | 09:11:34 |
| @fuzy:matrix.org removed their display name Zhengyi. | 12:23:42 |
| @steeringwheelrules:tchncs.de left the room. | 13:53:50 |
19 Dec 2024 |
| @bbigras:matrix.org left the room. | 01:41:10 |
rczb | I just found that it is nil rather than Eglot that blocks the initialization of a Nix buffer. nixd takes almost no time to startup. | 03:14:12 |
20 Dec 2024 |
| 0xfeebdaed joined the room. | 04:03:35 |
21 Dec 2024 |
| @dmiskovic:matrix.org left the room. | 05:14:06 |
| pizzium joined the room. | 12:41:40 |
Stephen D | In reply to @stephen:crabsin.space
I have both of these:
(set-frame-parameter nil 'alpha-background 80)
(add-to-list 'default-frame-alist '(alpha-background . 80))
But it doesn't seem to work Here was my fix
--- a/config/common-desktop/emacs.nix
+++ b/config/common-desktop/emacs.nix
@@ -8,6 +8,7 @@
programs.emacs = {
enable = true;
+ package = pkgs.emacs30-gtk3;
extraPackages = epkgs: [
epkgs.multiple-cursors
epkgs.ace-window
| 14:47:36 |
| sleepymonad joined the room. | 21:19:10 |
| sleepymonad set a profile picture. | 21:56:40 |