NixOS GNOME | 410 Members | |
| A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...) | 92 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 May 2023 | ||
| (I don't know if it's considered an important package.) | 07:33:34 | |
| Probably fixed by https://github.com/NixOS/nixpkgs/pull/228476/commits/82cea11923906492263ea968ccd986a01238b5d9 | 08:14:11 | |
| 21:50:16 | ||
| 4 May 2023 | ||
| 10:13:32 | ||
| 15:06:37 | ||
| 21:22:29 | ||
| So this extension only claims to be compatible with gnome 43. But it seems simple enough that it would likely work with gnome 44, right? Is there a way with nix to gnome to let me use it? https://github.com/Nova1545/gnome-shell-extension-customreboot | 23:05:54 | |
| * So this extension only claims to be compatible with gnome 43. But it seems simple enough that it would likely work with gnome 44, right? Is there a way with nix to force gnome to let me use it? https://github.com/Nova1545/gnome-shell-extension-customreboot | 23:06:05 | |
| (or if anyone knows a better extension to use) | 23:07:04 | |
| Well, this allows the extension to at least show up and "work":
But it doesn't actually do what it's supposed to do. The menu of boot options it can show me is empty and I don't see any messages in journalctl | 23:19:44 | |
a more general option: gsettings set org.gnome.shell disable-extension-version-validation "true" | 23:49:54 | |
| (which you can, of course, set declaratively via nix if you want) | 23:59:29 | |
| 5 May 2023 | ||
| well, after some patching because the code isn't quite right, the list is too long and it doesn't scroll so it's useless anyway :P | 00:05:59 | |
Here's the patches I used. If anyone knows how to make the menu scroll, maybe I'll use it :P | 00:06:49 | |
| oh, guess I indented bad | 00:07:00 | |
In reply to @elvishjerricco:matrix.org It looks like the only scrollable element is
| 13:29:23 | |
| also relevant https://gjs.guide/extensions/upgrading/gnome-shell-44.html | 13:30:04 | |
| 6 May 2023 | ||
| 10:17:01 | ||
| Hello! Is it possible to somehow configure monitors through home-manager? | 10:18:00 | |
vector1dev: you can use home.file.".config/monitors.xml" | 16:14:13 | |
| 7 May 2023 | ||
Hey, does anyone know how to edit portions of your config depending on the dark mode? I know that the dconf for it is /org/gnome/desktop/interface/color-scheme, but I want to be able to do things depending on if its "prefer-dark" or "default". Specifically, change the programs.helix.theme = "theme1"; between two values depending on dark mode or not. | 05:46:13 | |
| Do you mean in nix (at derivation / build time) or at runtime so it adapts if the user toggles dark mode? | 06:05:35 | |
| The latter: no idea | 06:05:52 | |
| Yea, the latter | 06:06:34 | |
| you might need a small extension or a program to watch dbus things and send relevant changes | 06:06:37 | |
| Yea, I saw a blog post about a systemd service that checks if the value changes, and it would change the config file, but nix doesn't let you just edit the .config file, and I'm not sure how to have a conditional that checks the dconf value | 06:07:51 | |
| A workaround that could be done is make a shell script that has 2 different config files only with the theme line changed, and the shell script itself checks if GNOME is in a dark mode or not, but this seems messy and I would rather try and do it within my nix configuration | 06:10:51 | |
| Nothing in nix is likely to do it, but whatever you end up with that does do it (even such a shell script) can of course be wrapped up into your nix config | 06:12:03 | |
| * Nothing in nix is likely to do it, but whatever you end up with that does do it (even such a shell script) can of course be wrapped up into your nix config to be installed and hooked into the right places (as a systemd service or gnome extension or whatever it ends up needing) | 06:12:49 | |
In reply to@uep:matrix.orgI'll try and do this, but I had another thought. Is it possible to have nix create 2 separate derivations, say in this case light and dark, and have, for example, shell script, that would check the dconf value and switch between those? So if I called the program it would call different packages in the nix store depending on if it's dark mode or not? I'm not sure if this would be trivial to do within home manager. | 06:15:45 | |