Adding desktop config

This commit is contained in:
Miguel Palhas
2024-11-29 11:11:46 +00:00
parent c48c55275b
commit c5303302f4
7 changed files with 176 additions and 111 deletions
+1 -1
View File
@@ -21,6 +21,7 @@
../common/features/colorscheme.nix
../common/features/xdg.nix
../common/features/bluetooth.nix
./wallpaper.nix
];
home.sessionVariables = {
@@ -31,7 +32,6 @@
};
wayland.windowManager.hyprland.settings = {
monitor = [ "eDP-1, preferred, 0x1080, 1, bitdepth, 8" ];
windowrulev2 = [
"float, class:thunar"
"move cursor -50% -50%, class:thunar"
+30
View File
@@ -0,0 +1,30 @@
{
inputs,
pkgs,
config,
}:
let
wallpaper1 = pkgs.fetchurl {
url = "https://i.redd.it/mvev8aelh7zc1.png";
hash = "sha256-lJjIq+3140a5OkNy/FAEOCoCcvQqOi73GWJGwR2zT9w";
};
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.wallpapers = [
"DP-1, ${builtins.toString wallpaper1}"
"HDMI-A-1, ${builtins.toString wallpaper1}"
];
}