feat: switch hyprpaper to swww because hyprpaper stopped working

This commit is contained in:
matt1432 2023-11-03 23:05:46 -04:00
parent 3cb8bcb3e9
commit 4c22479151
3 changed files with 9 additions and 15 deletions

View file

@ -7,6 +7,10 @@ plugin {
}
}
xwayland {
force_zero_scaling = true
}
# See https://wiki.hyprland.org/Configuring/Monitors/ x y
monitor=desc:Acer Technologies Acer K212HQL T3EAA0014201, 1920x1080@60, 840x1000, 1, transform, 3
monitor=desc:BOE 0x0964, 1920x1200@60, 0x2920, 1
@ -31,7 +35,6 @@ exec-once = squeekboard
exec-once = bash -c "sleep 3; ags -t applauncher"
layerrule = blur, overview
exec-once = hyprpaper
exec-once = wl-paste --watch cliphist store

View file

@ -40,6 +40,7 @@ in {
exec-once = [
"${polkit}/libexec/polkit-kde-authentication-agent-1"
"${osConfig.programs.kdeconnect.package}/libexec/kdeconnectd"
"swww init --no-cache && swww img -t none ${pkgs.dracula-theme}/wallpapers/waves.png"
];
source = [ "~/.config/hypr/main.conf" ];
@ -47,12 +48,7 @@ in {
};
xdg.configFile = {
"hypr/main.conf".source = symlink "${configDir}/hypr/main.conf";
"hypr/hyprpaper.conf".text = ''
preload = ${pkgs.dracula-theme}/wallpapers/waves.png
wallpaper = eDP-1, ${pkgs.dracula-theme}/wallpapers/waves.png
'';
"hypr/main.conf".source = symlink "${configDir}/hypr/main.conf";
};
home.packages = with pkgs; [
@ -73,7 +69,7 @@ in {
# Hyprland
hyprpaper
swww
swayidle
lisgd
swayosd

View file

@ -10,13 +10,8 @@
css = pkgs.writeText "style.css" ''${builtins.readFile ./style.css}'';
paperConf = pkgs.writeText "hyprpaper.conf" ''
preload = ${pkgs.dracula-theme}/wallpapers/waves.png
wallpaper = eDP-1, ${pkgs.dracula-theme}/wallpapers/waves.png
'';
hyprConf = pkgs.writeText "greetd-hypr-config" ''
exec-once = hyprpaper --config ${paperConf}
exec-once = swww init --no-cache && swww img -t none ${pkgs.dracula-theme}/wallpapers/waves.png
${builtins.readFile ./hyprland.conf}
@ -32,7 +27,7 @@ in {
packages = with pkgs; [
dracula-theme
flat-remix-icon-theme
hyprpaper
swww
gtk3
glib
squeekboard