🧹 Refactor, moved monitornames to common.nix, removed waypaper reload
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
userEmail = "git@martials.no";
|
||||
|
||||
aliases = {
|
||||
amend = "commit --amend";
|
||||
cm = "commit";
|
||||
s = "status";
|
||||
};
|
||||
|
@ -34,4 +34,5 @@ in
|
||||
];
|
||||
};
|
||||
};
|
||||
wayland.windowManager.hyprland.settings.exec-once = [ "hypridle" ];
|
||||
}
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Wallpapers
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
common = import ../../common.nix;
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
@ -25,8 +27,8 @@
|
||||
];
|
||||
|
||||
wallpaper = [
|
||||
"DP-1,${monitor1}"
|
||||
"DP-3,${monitor2}"
|
||||
"${common.monitor1},${monitor1}"
|
||||
"${common.monitor2},${monitor2}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -1,23 +1,21 @@
|
||||
{ lib, ... }:
|
||||
let
|
||||
common = import ../../common.nix;
|
||||
app = common.default;
|
||||
theme = import ../../theme.nix;
|
||||
app = common.default;
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
"DP-1, 3440x1440@175, 0x0, 1"
|
||||
"DP-3, 3840x2160@60, 3440x0, 1.5, transform, 1"
|
||||
"${common.monitor1}, 3440x1440@175, 0x0, 1"
|
||||
"${common.monitor2}, 3840x2160@60, 3440x0, 1.5, transform, 1"
|
||||
];
|
||||
|
||||
# Autostart
|
||||
exec-once = [
|
||||
app.browser
|
||||
app.terminal
|
||||
"hypridle"
|
||||
"systemctl --user start hyprpolkitagent"
|
||||
"waypaper --restore"
|
||||
];
|
||||
|
||||
env = [
|
||||
|
Reference in New Issue
Block a user