commit to hyprpanel

This commit is contained in:
2025-08-25 20:15:35 -05:00
parent 2c08f3f50e
commit 1973db82de
4 changed files with 33 additions and 22 deletions

View File

@@ -45,6 +45,7 @@
zulu zulu
(python312.withPackages (ps: with ps; [ (python312.withPackages (ps: with ps; [
gpustat
numpy numpy
matplotlib matplotlib
scipy scipy

View File

@@ -65,13 +65,8 @@
pkill -USR1 kitty pkill -USR1 kitty
'') '')
(pkgs.writeShellScriptBin "onSystemStart" (pkgs.writeShellScriptBin "onSystemStart" ''
(if config.homeconfig.ags.enable then ''
${pkgs.swww}/bin/swww-daemon &
ags &
'' else if config.homeconfig.hyprpanel.enable then ''
${pkgs.hyprpanel}/bin/hyprpanel & ${pkgs.hyprpanel}/bin/hyprpanel &
'' else '''' + ''
randWallpaper & randWallpaper &
pypr & pypr &
lxqt-policykit-agent & lxqt-policykit-agent &
@@ -79,7 +74,7 @@
sleep 3 sleep 3
hyprctl reload & hyprctl reload &
#tmux new-session -s hyprland #tmux new-session -s hyprland
'')) '')
(pkgs.writeShellScriptBin "colorPrefix" '' (pkgs.writeShellScriptBin "colorPrefix" ''
exec -a "$0" "$@" & exec -a "$0" "$@" &

View File

@@ -1,15 +0,0 @@
{ config, lib, pkgs, ... }: {
options.sysconfig.programs.ags.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.programs.ags.enable {
services = {
upower.enable = true;
gvfs.enable = true;
power-profiles-daemon.enable = true;
};
};
}

View File

@@ -0,0 +1,30 @@
{ config, lib, pkgs, ... }: {
options.sysconfig.programs.hyprpanel.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.programs.hyprpanel.enable {
services = {
upower.enable = true;
gvfs.enable = true;
power-profiles-daemon.enable = true;
};
environment.systemPackages = with pkgs; [
bluez
bluez-tools
libgtop
dart-sass
wl-clipboard
gtksourceview
libsoup_3
brightnessctl
swww
hyprpicker
hyprsunset
wf-recorder
];
};
}