fix hyprshade
This commit is contained in:
@@ -5,5 +5,6 @@
|
|||||||
#./hyprland-xwaylandvideobridge.nix not needed anymore
|
#./hyprland-xwaylandvideobridge.nix not needed anymore
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./hyprlock.nix
|
./hyprlock.nix
|
||||||
|
./hyprshade.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,9 +15,6 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
home.file.".config/hypr/hyprshade.toml".source =
|
|
||||||
../../.config/hypr/hyprshade.toml;
|
|
||||||
#programs.swaylock.enable = true;
|
#programs.swaylock.enable = true;
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -308,7 +305,6 @@ in
|
|||||||
#"${pkgs.swww} img $(ls -d /synced/default/dinge/Bg/* | shuf -n 1)"
|
#"${pkgs.swww} img $(ls -d /synced/default/dinge/Bg/* | shuf -n 1)"
|
||||||
"${pkgs.swww} img ${config.stylix.image}"
|
"${pkgs.swww} img ${config.stylix.image}"
|
||||||
"${pkgs.networkmanagerapplet}/bin/nm-applet --indicator &"
|
"${pkgs.networkmanagerapplet}/bin/nm-applet --indicator &"
|
||||||
"${pkgs.hyprshade}/bin/hyprshade auto"
|
|
||||||
"dex --autostart --environment Hyprland"
|
"dex --autostart --environment Hyprland"
|
||||||
"${pkgs.hypridle}/bin/hypridle &"
|
"${pkgs.hypridle}/bin/hypridle &"
|
||||||
#"${pkgs.dunst}/bin/dunst &"
|
#"${pkgs.dunst}/bin/dunst &"
|
||||||
|
|||||||
17
home-manager/hyprland/hyprshade.nix
Normal file
17
home-manager/hyprland/hyprshade.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{ osConfig, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let cfg = osConfig.custom.graphical.hyprland;
|
||||||
|
in {
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home.activation.hyprshade = {
|
||||||
|
after = [ "writeBoundary" ];
|
||||||
|
before = [ ];
|
||||||
|
data = ''
|
||||||
|
${pkgs.hyprshade}/bin/hyprshade install
|
||||||
|
${pkgs.systemd}/bin/systemctl --user enable --now hyprshade.timer
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
home.file.".config/hypr/hyprshade.toml".source = ../../.config/hypr/hyprshade.toml;
|
||||||
|
wayland.windowManager.hyprland.settings.exec-once = [ "${pkgs.hyprshade}/bin/hyprshade auto" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -17,6 +17,7 @@ in
|
|||||||
#jetbrains.clion
|
#jetbrains.clion
|
||||||
insomnia
|
insomnia
|
||||||
nodejs_22 # needed for tabby extension
|
nodejs_22 # needed for tabby extension
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
#environment.sessionVariables = {
|
#environment.sessionVariables = {
|
||||||
|
|||||||
Reference in New Issue
Block a user