fixup! hyprland: separate settings for user and host
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
{
|
{ pkgs, lib, ... }: {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = let
|
||||||
|
wallpaper = image = pkgs.fetchurl {
|
||||||
|
name = "miku_wallpaper.jpg";
|
||||||
|
url = "https://c.codrs.ru/pub/miku_wallpaper.jpeg?raw";
|
||||||
|
hash = "";
|
||||||
|
}
|
||||||
|
in {
|
||||||
settings = {
|
settings = {
|
||||||
monitor = [
|
monitor = [
|
||||||
"DP-3 , 1920x1080@165, 0x0 , 1"
|
"DP-3 , 1920x1080@165, 0x0 , 1"
|
||||||
@@ -13,6 +19,8 @@
|
|||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"hyprctl dispatch workspace 1"
|
"hyprctl dispatch workspace 1"
|
||||||
|
"${lib.getExe pkgs.swww} img -o HDMI-A-1 ${wallpaper}"
|
||||||
|
"${lib.getExe pkgs.linux-wallpaperengine} ~/.local/share/wpe/wallpaper --assets-dir ~/.local/share/wpe/assets --screen-root DP-3 --noautomute"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -59,10 +59,6 @@
|
|||||||
enable_swallow = true;
|
enable_swallow = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
exec-once = [
|
|
||||||
"${lib.getExe pkgs.linux-wallpaperengine} ~/.local/share/wpe/wallpaper --assets-dir ~/.local/share/wpe/assets --screen-root DP-3 --noautomute"
|
|
||||||
];
|
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
''$mainMod Shift, S, exec, ${lib.getExe pkgs.grim} -g "$(${lib.getExe pkgs.slurp})" - | ${lib.getExe pkgs.swappy} -f -''
|
''$mainMod Shift, S, exec, ${lib.getExe pkgs.grim} -g "$(${lib.getExe pkgs.slurp})" - | ${lib.getExe pkgs.swappy} -f -''
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user