mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-08 01:38:34 -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";
|
||||
};
|
||||
caelestia-shell = {
|
||||
url = "github:caelestia-dots/shell";
|
||||
url = "github:jutraim/niri-caelestia-shell";
|
||||
};
|
||||
|
||||
darwin = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
home.packages = with pkgs; [
|
||||
adw-gtk3
|
||||
|
||||
discord
|
||||
pkgs.mods.discord
|
||||
|
||||
# Office
|
||||
libreoffice
|
||||
|
|
|
|||
|
|
@ -13,19 +13,19 @@
|
|||
|
||||
programs.caelestia = {
|
||||
enable = true;
|
||||
settings = {
|
||||
bar.status = {
|
||||
showBattery = true;
|
||||
};
|
||||
# settings = {
|
||||
# bar.status = {
|
||||
# showBattery = true;
|
||||
# };
|
||||
|
||||
appearance.transparency.enable = true;
|
||||
};
|
||||
cli = {
|
||||
enable = true; # Also add caelestia-cli to path
|
||||
settings = {
|
||||
theme.enableGtk = true;
|
||||
};
|
||||
};
|
||||
# # appearance.transparency.enable = true;
|
||||
# };
|
||||
# cli = {
|
||||
# enable = true; # Also add caelestia-cli to path
|
||||
# settings = {
|
||||
# theme.enableGtk = true;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
programs.niri.settings = {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,23 @@
|
|||
|
||||
modifications = final: prev: {
|
||||
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