commit to hyprpanel
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
zulu
|
||||
|
||||
(python312.withPackages (ps: with ps; [
|
||||
gpustat
|
||||
numpy
|
||||
matplotlib
|
||||
scipy
|
||||
|
||||
@@ -65,13 +65,8 @@
|
||||
pkill -USR1 kitty
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "onSystemStart"
|
||||
(if config.homeconfig.ags.enable then ''
|
||||
${pkgs.swww}/bin/swww-daemon &
|
||||
ags &
|
||||
'' else if config.homeconfig.hyprpanel.enable then ''
|
||||
(pkgs.writeShellScriptBin "onSystemStart" ''
|
||||
${pkgs.hyprpanel}/bin/hyprpanel &
|
||||
'' else '''' + ''
|
||||
randWallpaper &
|
||||
pypr &
|
||||
lxqt-policykit-agent &
|
||||
@@ -79,7 +74,7 @@
|
||||
sleep 3
|
||||
hyprctl reload &
|
||||
#tmux new-session -s hyprland
|
||||
''))
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "colorPrefix" ''
|
||||
exec -a "$0" "$@" &
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
30
system-config/programs/hyprpanel/default.nix
Normal file
30
system-config/programs/hyprpanel/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user