fix(swww)!: remove

Does not currently build
This commit is contained in:
reo101 2024-07-25 13:45:31 +03:00
parent 3c6419cf45
commit 703cd0264b
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
3 changed files with 29 additions and 27 deletions

View file

@ -27,7 +27,8 @@ in
builtins.concatLists [
[
river
swww # wallpaper deamon
# FIXME: does not build
# swww # wallpaper deamon
waybar # status bar
xwayland
wl-clipboard
@ -53,26 +54,26 @@ in
source = ./style.css;
};
systemd.user.services."swww" = {
Unit = {
Description = "swww Daemon";
PartOf = "graphical-session.target";
};
Service = {
ExecStart = "${pkgs.swww}/bin/swww init --no-daemon";
ExecStop = "${pkgs.swww}/bin/swww kill";
Type = "simple";
Restart = "always";
RestartSec = 5;
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
# description = "Swww Deamon";
# wantedBy = [ "graphical-session.target" ];
# partOf = [ "graphical-session.target" ];
# script = "${pkgs.swww}/bin/swww init --no-daemon";
};
# systemd.user.services."swww" = {
# Unit = {
# Description = "swww Daemon";
# PartOf = "graphical-session.target";
# };
# Service = {
# ExecStart = "${pkgs.swww}/bin/swww init --no-daemon";
# ExecStop = "${pkgs.swww}/bin/swww kill";
# Type = "simple";
# Restart = "always";
# RestartSec = 5;
# };
# Install = {
# WantedBy = [ "graphical-session.target" ];
# };
# # description = "Swww Deamon";
# # wantedBy = [ "graphical-session.target" ];
# # partOf = [ "graphical-session.target" ];
# # script = "${pkgs.swww}/bin/swww init --no-daemon";
# };
# services.swww = {
# enabled = true;

View file

@ -169,10 +169,10 @@ wireplumber &
waybar &
# Set wallpaper
{
swww init
local last_bg = "${HOME}/Wallpapers/last"
[ -f "${last_bg}" ] && swww img "${last_bg}"
}
# {
# swww init
# local last_bg = "${HOME}/Wallpapers/last"
# [ -f "${last_bg}" ] && swww img "${last_bg}"
# }
exec rivertile -view-padding 6 -outer-padding 6

View file

@ -16,7 +16,8 @@
# FIXME: only buildable on darwin
# pngpaste = pkgs.callPackage ./pngpaste { };
srtool-cli = pkgs.callPackage ./srtool-cli { };
swww = pkgs.callPackage ./swww { };
# FIXME: does not build
# swww = pkgs.callPackage ./swww { };
vim-fmi-cli = pkgs.callPackage ./vim-fmi-cli { };
win2xcur = pkgs.callPackage ./win2xcur { };
}