mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-10 10:48:35 -05:00
niri with shell, wrapped discord attempt
This commit is contained in:
parent
282bb68316
commit
227dcc58d9
4 changed files with 31 additions and 14 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
url = "github:sodiboo/niri-flake";
|
url = "github:sodiboo/niri-flake";
|
||||||
};
|
};
|
||||||
caelestia-shell = {
|
caelestia-shell = {
|
||||||
url = "github:caelestia-dots/shell";
|
url = "github:jutraim/niri-caelestia-shell";
|
||||||
};
|
};
|
||||||
|
|
||||||
darwin = {
|
darwin = {
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
adw-gtk3
|
adw-gtk3
|
||||||
|
|
||||||
discord
|
pkgs.mods.discord
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
libreoffice
|
libreoffice
|
||||||
|
|
|
||||||
|
|
@ -13,19 +13,19 @@
|
||||||
|
|
||||||
programs.caelestia = {
|
programs.caelestia = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
# settings = {
|
||||||
bar.status = {
|
# bar.status = {
|
||||||
showBattery = true;
|
# showBattery = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
appearance.transparency.enable = true;
|
# # appearance.transparency.enable = true;
|
||||||
};
|
# };
|
||||||
cli = {
|
# cli = {
|
||||||
enable = true; # Also add caelestia-cli to path
|
# enable = true; # Also add caelestia-cli to path
|
||||||
settings = {
|
# settings = {
|
||||||
theme.enableGtk = true;
|
# theme.enableGtk = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.niri.settings = {
|
programs.niri.settings = {
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,23 @@
|
||||||
|
|
||||||
modifications = final: prev: {
|
modifications = final: prev: {
|
||||||
mods = {
|
mods = {
|
||||||
|
discord = final.stdenv.mkDerivation {
|
||||||
|
pname = "discord-wayland";
|
||||||
|
version = prev.discord.version;
|
||||||
|
|
||||||
|
buildInputs = [final.makeWrapper];
|
||||||
|
nativeBuildInputs = [final.makeWrapper];
|
||||||
|
|
||||||
|
unpackPhase = "true";
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s ${prev.discord}/bin/discord $out/bin/.discord-wrapped
|
||||||
|
wrapProgram $out/bin/.discord-wrapped \
|
||||||
|
--prefix PATH : ${final.lib.makeBinPath [final.xdg-utils final.coreutils]} \
|
||||||
|
--add-flags "--enable-features=UseOzonePlatform --ozone-platform=wayland"
|
||||||
|
ln -s $out/bin/.discord-wrapped $out/bin/discord
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue