commit to hyprpanel
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
zulu
|
zulu
|
||||||
|
|
||||||
(python312.withPackages (ps: with ps; [
|
(python312.withPackages (ps: with ps; [
|
||||||
|
gpustat
|
||||||
numpy
|
numpy
|
||||||
matplotlib
|
matplotlib
|
||||||
scipy
|
scipy
|
||||||
|
|||||||
@@ -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" "$@" &
|
||||||
|
|||||||
@@ -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