mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 20:17:45 +00:00
Make discord use Wayland
This commit is contained in:
parent
c28ceb50f7
commit
adb759f888
3 changed files with 14 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
||||||
# Broken Stuff
|
# Broken Stuff
|
||||||
|
|
||||||
|
- Discord does not use Wayland.
|
||||||
|
|
||||||
- QT theme doesn't work.
|
- QT theme doesn't work.
|
||||||
|
|
||||||
- Nushell custom prompt title does not work, as it gets
|
- Nushell custom prompt title does not work, as it gets
|
||||||
|
|
|
@ -8,9 +8,17 @@
|
||||||
xdg.configFile."Vencord/settings/quickCss.css".text = theme.discordCss;
|
xdg.configFile."Vencord/settings/quickCss.css".text = theme.discordCss;
|
||||||
})
|
})
|
||||||
|
|
||||||
(desktopSystemPackages (with pkgs; [
|
(desktopHomePackages (with pkgs; [
|
||||||
(discord.override {
|
((discord-canary.override {
|
||||||
withOpenASAR = true;
|
withOpenASAR = true;
|
||||||
withVencord = true;
|
withVencord = true;
|
||||||
})
|
}).overrideAttrs (old: with pkgs; {
|
||||||
|
libPath = old.libPath + ":${libglvnd}/lib";
|
||||||
|
nativeBuildInputs = old.nativeBuildInputs ++ [ makeWrapper ];
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/opt/DiscordCanary/DiscordCanary \
|
||||||
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform=wayland}}"
|
||||||
|
'';
|
||||||
|
}))
|
||||||
]))
|
]))
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
bind = SUPER+ALT, RETURN, exec, kitty
|
bind = SUPER+ALT, RETURN, exec, kitty
|
||||||
bind = SUPER , RETURN, exec, ghostty --gtk-single-instance=true
|
bind = SUPER , RETURN, exec, ghostty --gtk-single-instance=true
|
||||||
bind = SUPER , W , exec, firefox
|
bind = SUPER , W , exec, firefox
|
||||||
bind = SUPER , D , exec, discord
|
bind = SUPER , D , exec, discordcanary
|
||||||
bind = SUPER , M , exec, thunderbird
|
bind = SUPER , M , exec, thunderbird
|
||||||
bind = SUPER , T , exec, thunar
|
bind = SUPER , T , exec, thunar
|
||||||
bind = SUPER , C , exec, hyprpicker --autocopy
|
bind = SUPER , C , exec, hyprpicker --autocopy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue