Fixing arrakis

This commit is contained in:
Miguel Palhas
2024-12-05 18:45:56 +00:00
parent c48c55275b
commit 3d4e2102b3
10 changed files with 108 additions and 17 deletions
+9 -1
View File
@@ -21,6 +21,7 @@
../common/features/colorscheme.nix
../common/features/xdg.nix
../common/features/bluetooth.nix
./monitors.nix
];
home.sessionVariables = {
@@ -31,11 +32,18 @@
};
wayland.windowManager.hyprland.settings = {
monitor = [ "eDP-1, preferred, 0x1080, 1, bitdepth, 8" ];
windowrulev2 = [
# thunar
"float, class:thunar"
"move cursor -50% -50%, class:thunar"
"size 800 600, class:thunar"
# ethui-dev
"workspace 1, class:ethui"
"float, class:ethui"
"size 800 800, class:ethui"
"move 100%-800 100%-800, class:ethui"
"noinitialfocus, class:ethui"
];
};
+32
View File
@@ -0,0 +1,32 @@
{
inputs,
pkgs,
config,
...
}:
let
wallpaper1 = pkgs.fetchurl {
url = "https://4kwallpapers.com/images/wallpapers/abstract-design-3840x2160-17068.jpg";
hash = "sha256-F/XE/ETwzYwtbQWXY78c2AJc8xe2mRunB8Q9/c2F7kY=";
};
in
{
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-1, preferred, 0x0, auto, bitdepth, 8"
"HDMI-A-1, preferred, 2560x0, auto, bitdepth, 8"
];
workspace = [
"1, monitor=HDMI-A-1"
"2, monitor=DP-1"
"3, monitor=DP-1"
"4, monitor=DP-1"
];
};
services.hyprpaper.settings.preload = [ (builtins.toString wallpaper1) ];
services.hyprpaper.settings.wallpaper = [
"DP-1,${builtins.toString wallpaper1}"
"HDMI-A-1,${builtins.toString wallpaper1}"
];
}