hyprpaper fix
This commit is contained in:
parent
de264e37d2
commit
bb707f6ab4
@ -1,4 +1,16 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.features.desktop.hyprland;
|
||||
in {
|
||||
options.features.desktop.hyprland.enable =
|
||||
mkEnableOption "Hyprland related stuff";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.file.".config/hypr/colors.conf".text = ''
|
||||
$background = rgb(282A36)
|
||||
$backgroundRaw = 282A36
|
||||
@ -34,11 +46,11 @@
|
||||
|
||||
exec-once = [
|
||||
"hyprpanel"
|
||||
"hyprpaper"
|
||||
"hyprpaper-random"
|
||||
"hypridle"
|
||||
"sleep 1 && hyprpaper-random"
|
||||
"wl-paste --type text --watch cliphist store" # Stores only text data
|
||||
"wl-paste --type image --watch cliphist store" # Stores only image data "wl-paste -p -t text --watch clipman store -P --histpath=\"~/.local/share/clipman-primary.json\""
|
||||
"xwaylandvideobridge"
|
||||
];
|
||||
|
||||
env = [
|
||||
@ -170,6 +182,12 @@
|
||||
"noshadow, initialTitle:.*streamlabs.com.*"
|
||||
"noblur, initialTitle:.*streamlabs.com.*"
|
||||
"bordercolor rgb(ffffff),xwayland:1"
|
||||
"opacity 0.0 override, class:^(xwaylandvideobridge)$"
|
||||
"noanim, class:^(xwaylandvideobridge)$"
|
||||
"noinitialfocus, class:^(xwaylandvideobridge)$"
|
||||
"maxsize 1 1, class:^(xwaylandvideobridge)$"
|
||||
"noblur, class:^(xwaylandvideobridge)$"
|
||||
"nofocus, class:^(xwaylandvideobridge)$"
|
||||
];
|
||||
|
||||
"$mainMod" = "SUPER";
|
||||
@ -255,6 +273,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
services.hyprpaper.enable = true;
|
||||
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@ -325,4 +345,5 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -14,7 +14,7 @@ in {
|
||||
grim
|
||||
hyprcursor
|
||||
hyprlock
|
||||
hyprpaper
|
||||
kdePackages.xwaylandvideobridge
|
||||
nwg-displays
|
||||
nwg-look
|
||||
qt6.qtwayland
|
||||
|
||||
@ -13,14 +13,9 @@ in {
|
||||
../features/desktop
|
||||
];
|
||||
|
||||
options.features.desktop.hyprland.enable =
|
||||
mkEnableOption "enable Hyprland";
|
||||
|
||||
config = mkMerge [
|
||||
# Base configuration
|
||||
{
|
||||
xdg = {
|
||||
# TODO: better structure
|
||||
enable = true;
|
||||
configFile."mimeapps.list".force = true;
|
||||
mimeApps = {
|
||||
@ -43,6 +38,17 @@ in {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.hyprpaper.settings = {
|
||||
ipc = "on";
|
||||
preload = ["/home/sascha.koenig/.config/hypr/wallpapers/wallhaven-lmmo8r_2560x1600.png"];
|
||||
wallpaper = [
|
||||
"eDP-1,/home/sascha.koenig/.config/hypr/wallpapers/wallhaven-lmmo8r_2560x1600.png"
|
||||
"DP-8,/home/sascha.koenig/.config/hypr/wallpapers/wallhaven-lmmo8r_2560x1600.png"
|
||||
"DP-9,/home/sascha.koenig/.config/hypr/wallpapers/wallhaven-lmmo8r_2560x1600.png"
|
||||
];
|
||||
};
|
||||
|
||||
features = {
|
||||
cli = {
|
||||
fish.enable = true;
|
||||
@ -74,7 +80,7 @@ in {
|
||||
"2, monitor:eDP-1"
|
||||
"3, monitor:DP-9"
|
||||
"4, monitor:DP-9"
|
||||
"5, monitor:DP-8,border:false,rounding:false"
|
||||
"5, monitor:DP-8"
|
||||
"6, monitor:DP-8"
|
||||
];
|
||||
windowrule = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user