Compare commits

...

3 commits

6 changed files with 85 additions and 19 deletions

View file

@ -15,7 +15,28 @@ in {
}; };
systemd.user.services = { systemd.user.services = {
"eww" = { "eww" = let
# All dependencies required for eww and for the scripts/widgets it uses
dependencies = with pkgs; [
python3
bash
coreutils
gnugrep
gawk
netcat-openbsd
jq
util-linux
systemd
bluez
upower
wl-gammarelay-rs
gammastep
networkmanager
wireplumber
pulseaudio
hyprland
];
in {
Unit = { Unit = {
Description = "ElKowar's Wacky Widgets (eww) daemon"; Description = "ElKowar's Wacky Widgets (eww) daemon";
After = [ "graphical-session-pre.target" ]; After = [ "graphical-session-pre.target" ];
@ -24,7 +45,8 @@ in {
Service = { Service = {
Type = "simple"; Type = "simple";
Restart = "always"; Restart = "alwayss";
Environment = "PATH=/run/wrappers/bin:${lib.makeBinPath dependencies}";
ExecStart = pkgs.writeShellScript "eww-daemon" '' ExecStart = pkgs.writeShellScript "eww-daemon" ''
${pkgs.eww}/bin/eww daemon --no-daemonize ${pkgs.eww}/bin/eww daemon --no-daemonize
''; '';

View file

@ -9,6 +9,7 @@ _: {
./zoxide.nix ./zoxide.nix
./tealdeer.nix ./tealdeer.nix
./hyfetch.nix ./hyfetch.nix
./fastfetch.nix
./btop.nix ./btop.nix
./bottom.nix ./bottom.nix
./bat.nix ./bat.nix

View file

@ -0,0 +1,14 @@
{
lib,
osConfig,
...
}: let
inherit (lib) mkIf;
cfg = osConfig.myOptions.home-manager.programs.tools.fastfetch;
in {
config = mkIf cfg.enable {
programs.fastfetch.enable = true;
};
}

View file

@ -1,21 +1,31 @@
{ {
programs.hyfetch = { lib,
enable = true; osConfig,
settings = { ...
preset = "rainbow"; }: let
mode = "rgb"; inherit (lib) mkIf;
light_dark = "dark";
lightness = 0.65; cfg = osConfig.myOptions.home-manager.programs.tools.hyfetch;
color_align = { in {
mode = "horizontal"; config = mkIf cfg.enable {
custom_colors = []; programs.hyfetch = {
force_back = null; enable = true;
settings = {
preset = "rainbow";
mode = "rgb";
light_dark = "dark";
lightness = 0.65;
color_align = {
mode = "custom";
custom_colors = {};
force_back = null;
};
backend = "neofetch";
args = null;
distro = null;
pride_month_shown = [];
pride_month_disable = true;
}; };
backend = "neofetch";
args = null;
distro = null;
pride_month_shown = [];
pride_month_disable = true;
}; };
}; };
} }

View file

@ -125,7 +125,17 @@
wms.hyprland = { wms.hyprland = {
enable = true; enable = true;
monitor = [ monitor = [
"eDP-1, 1920x1080@60, 0x0, 1" # Primary / laptop display
"eDP-1, 1920x1200@60, 0x1080, 1"
# HDMI-A-1 above primary
"HDMI-A-1, 1920x1080@60, 0x0, 1"
# HDMI-A-1 left to primary
#"HDMI-A-1, 1920x1080@60, 1920x1080, 1"
# Mirror the primary (laptop) monitor on externals
", preferred, auto, 1, mirror, eDP-1"
]; ];
}; };
@ -136,6 +146,10 @@
chromium.enable = true; chromium.enable = true;
mullvad-browser.enable = true; mullvad-browser.enable = true;
}; };
tools = {
fastfetch.enable = true;
hyfetch.enable = true;
};
spotify.enable = true; spotify.enable = true;
stremio.enable = true; stremio.enable = true;
vesktop = { vesktop = {

View file

@ -32,5 +32,10 @@ in
enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)"; enable = mkEnableOption "Vesktop (An alternate client for Discord with Vencord built-in)";
autoStart = mkEnableOption "Auto-Start for Vesktop"; autoStart = mkEnableOption "Auto-Start for Vesktop";
}; };
tools = {
fastfetch.enable = mkEnableOption "FastFetch (fast neofetch)";
hyfetch.enable = mkEnableOption "Neofetch with pride flags";
};
}; };
} }