temporary

This commit is contained in:
Gregory Bednov 2025-01-02 22:22:19 +03:00 committed by GitHub
commit 406b1dd56b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,7 +65,7 @@ execp_padding = 5 5
#------------------------------------- #-------------------------------------
execp = new execp = new
execp_name = mireaweek execp_name = mireaweek
execp_command = ${mireaweek}/bin/weekday #execp_command = ${mireaweek}/bin/weekday # TODO!!!
execp_interval = 0 execp_interval = 0
execp_font = mono 10 execp_font = mono 10
execp_font_color = #dddddd 100 execp_font_color = #dddddd 100
@ -91,18 +91,18 @@ if [ "$1" = "reboot" ]; then
exit 0 exit 0
fi fi
''); '');
mireaweek = pkgs.stdenv.mkDerivation rec { # mireaweek = pkgs.stdenv.mkDerivation rec {
pname = "mireaweek"; # pname = "mireaweek";
version = "0.2.0"; # version = "0.2.0";
src = "${self}/weekday.hs"; # src = "${self}/weekday.hs";
dontInstall = true; # dontInstall = true;
dontUnpack = true; # dontUnpack = true;
nativeBuildInputs = [pkgs.ghc]; # nativeBuildInputs = [pkgs.ghc];
buildPhase = '' # buildPhase = ''
mkdir -p $out/bin # mkdir -p $out/bin
ghc $src -o $out/bin/weekday # ghc $src -o $out/bin/weekday
''; # '';
}; #};
tint2 = pkgs.writeScriptBin "tint2" "${pkgs.tint2}/bin/tint2 -c ${tint2config}"; tint2 = pkgs.writeScriptBin "tint2" "${pkgs.tint2}/bin/tint2 -c ${tint2config}";
preparejgmenu = (pkgs.writeShellScript "preparejgmenu" preparejgmenu = (pkgs.writeShellScript "preparejgmenu"
'' ''