feat: switch hyprpaper to swww because hyprpaper stopped working
This commit is contained in:
parent
3cb8bcb3e9
commit
4c22479151
3 changed files with 9 additions and 15 deletions
|
@ -7,6 +7,10 @@ plugin {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
xwayland {
|
||||||
|
force_zero_scaling = true
|
||||||
|
}
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/ x y
|
# See https://wiki.hyprland.org/Configuring/Monitors/ x y
|
||||||
monitor=desc:Acer Technologies Acer K212HQL T3EAA0014201, 1920x1080@60, 840x1000, 1, transform, 3
|
monitor=desc:Acer Technologies Acer K212HQL T3EAA0014201, 1920x1080@60, 840x1000, 1, transform, 3
|
||||||
monitor=desc:BOE 0x0964, 1920x1200@60, 0x2920, 1
|
monitor=desc:BOE 0x0964, 1920x1200@60, 0x2920, 1
|
||||||
|
@ -31,7 +35,6 @@ exec-once = squeekboard
|
||||||
|
|
||||||
exec-once = bash -c "sleep 3; ags -t applauncher"
|
exec-once = bash -c "sleep 3; ags -t applauncher"
|
||||||
layerrule = blur, overview
|
layerrule = blur, overview
|
||||||
exec-once = hyprpaper
|
|
||||||
|
|
||||||
exec-once = wl-paste --watch cliphist store
|
exec-once = wl-paste --watch cliphist store
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@ in {
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"${polkit}/libexec/polkit-kde-authentication-agent-1"
|
"${polkit}/libexec/polkit-kde-authentication-agent-1"
|
||||||
"${osConfig.programs.kdeconnect.package}/libexec/kdeconnectd"
|
"${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" ];
|
source = [ "~/.config/hypr/main.conf" ];
|
||||||
|
@ -47,12 +48,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"hypr/main.conf".source = symlink "${configDir}/hypr/main.conf";
|
"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
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -73,7 +69,7 @@ in {
|
||||||
|
|
||||||
|
|
||||||
# Hyprland
|
# Hyprland
|
||||||
hyprpaper
|
swww
|
||||||
swayidle
|
swayidle
|
||||||
lisgd
|
lisgd
|
||||||
swayosd
|
swayosd
|
||||||
|
|
|
@ -10,13 +10,8 @@
|
||||||
|
|
||||||
css = pkgs.writeText "style.css" ''${builtins.readFile ./style.css}'';
|
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" ''
|
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}
|
${builtins.readFile ./hyprland.conf}
|
||||||
|
|
||||||
|
@ -32,7 +27,7 @@ in {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
dracula-theme
|
dracula-theme
|
||||||
flat-remix-icon-theme
|
flat-remix-icon-theme
|
||||||
hyprpaper
|
swww
|
||||||
gtk3
|
gtk3
|
||||||
glib
|
glib
|
||||||
squeekboard
|
squeekboard
|
||||||
|
|
Loading…
Reference in a new issue