2023-11-26 21:26:49 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2023-12-06 13:14:02 +01:00
|
|
|
}: {
|
|
|
|
home-manager.users.jade = {
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
xmobarGhc = pkgs.haskellPackages.ghcWithPackages (pkgs: with pkgs; [xmobar]);
|
|
|
|
in {
|
|
|
|
home.packages = [xmobarGhc pkgs.xmonadctl];
|
|
|
|
programs.xmobar = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-12-06 20:07:14 +01:00
|
|
|
home.file."xmobar.hs" = rec {
|
2023-12-06 13:14:02 +01:00
|
|
|
source = ../../haskell/xmobar/xmobar.hs;
|
|
|
|
target = ".config/xmobar/xmobar.hs";
|
|
|
|
onChange = ''
|
2023-12-06 20:07:14 +01:00
|
|
|
${xmobarGhc}/bin/ghc -threaded ${target}
|
|
|
|
${pkgs.busybox}/bin/pkill xmobar
|
2023-12-06 13:14:02 +01:00
|
|
|
${pkgs.haskellPackages.xmonad}/bin/xmonad --restart
|
|
|
|
'';
|
|
|
|
};
|
2023-04-22 12:52:11 +02:00
|
|
|
xsession.windowManager.xmonad = {
|
|
|
|
enable = true;
|
|
|
|
enableContribAndExtras = true;
|
|
|
|
config = ../../haskell/xmonad/xmonad.hs;
|
|
|
|
};
|
2023-11-14 12:22:19 +01:00
|
|
|
home.file.wallpaper = {
|
|
|
|
target = "Pictures/wallpaper.jpg";
|
|
|
|
source = ../../other/wallpaper.jpg;
|
|
|
|
onChange = ''
|
|
|
|
feh --bg-fill ~/Pictures/wallpaper.jpg;
|
|
|
|
'';
|
|
|
|
};
|
2023-04-22 12:52:11 +02:00
|
|
|
};
|
|
|
|
}
|