the great update
This commit is contained in:
15
user/wrapped/alacritty/default.nix
Normal file
15
user/wrapped/alacritty/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
alacrittyconf = pkgs.writeText "alacritty.toml" ''
|
||||
[window]
|
||||
opacity = 0.85
|
||||
'';
|
||||
in
|
||||
pkgs.symlinkJoin {
|
||||
name = "alacritty-wrapped";
|
||||
paths = [ pkgs.alacritty ];
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/alacritty --add-flags "--config-file ${alacrittyconf}"
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user