included relevant work from impermanence branch
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
...
|
||||
}: let
|
||||
host_config =
|
||||
if (host == "desktop")
|
||||
if (host == "oganesson")
|
||||
then [./desktop.nix]
|
||||
else [./laptop.nix];
|
||||
in {
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
{username, ...}: {
|
||||
{username, host, ...}: {
|
||||
wayland.windowManager.hyprland = {
|
||||
settings = {
|
||||
monitor = [
|
||||
monitor = if (host == "oganesson") then [
|
||||
"DP-1, 1920x1080@144, 1920x0, 1"
|
||||
"HDMI-A-1, 1920x1080, 0x0, 1"
|
||||
];
|
||||
] else [
|
||||
"eDP-1, 1600x900, 0x0, 1"
|
||||
];
|
||||
|
||||
exec-once = [
|
||||
"waybar &"
|
||||
@@ -17,14 +19,19 @@
|
||||
"aplay /home/${username}/sound/sys/login.wav &"
|
||||
];
|
||||
|
||||
workspace = [
|
||||
workspace = if (host == "oganesson") then [
|
||||
"1,persistent=true,monitor:HDMI-A-1"
|
||||
"2,persistent=true,monitor:HDMI-A-1"
|
||||
"3,persistent=true,monitor:HDMI-A-1"
|
||||
"4,persistent=true,monitor:DP-1"
|
||||
"5,persistent=true,monitor:DP-1"
|
||||
"6,persistent=true,monitor:DP-1"
|
||||
];
|
||||
] else [
|
||||
"1,persistent=true,monitor:eDP-1"
|
||||
"2,persistent=true,monitor:eDP-1"
|
||||
"3,persistent=true,monitor:eDP-1"
|
||||
"4,persistent=true,monitor:eDP-1"
|
||||
];
|
||||
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
host,
|
||||
username,
|
||||
self,
|
||||
...
|
||||
}: {
|
||||
services.hyprpaper = {
|
||||
@@ -9,16 +10,16 @@
|
||||
ipc = "on";
|
||||
splash = false;
|
||||
splash_offset = 2.0;
|
||||
preload = ["/home/${username}/Pictures/Wallpapers/cat-leaves.png"];
|
||||
preload = ["${self}/media/wallpapers/catppuccin/cat-leaves.png"];
|
||||
|
||||
wallpaper =
|
||||
if (host == "desktop")
|
||||
if (host == "oganesson")
|
||||
then [
|
||||
"DP-1,/home/${username}/Pictures/Wallpapers/cat-leaves.png"
|
||||
"HDMI-A-1,/home/${username}/Pictures/Wallpapers/cat-leaves.png"
|
||||
"DP-1,${self}/media/wallpapers/catppuccin/cat-leaves.png"
|
||||
"HDMI-A-1,${self}/media/wallpapers/catppuccin/cat-leaves.png"
|
||||
]
|
||||
else [
|
||||
"eDP-1,/home/${username}/Pictures/Wallpapers/cat-leaves.png"
|
||||
"eDP-1,${self}/media/wallpapers/catppuccin/cat-leaves.png"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user