Back to hyprland, switch to using mako
This commit is contained in:
parent
c51d9421c5
commit
889810f863
|
@ -25,7 +25,7 @@ in {
|
|||
./rofi
|
||||
./swaylock.nix
|
||||
./gtk.nix
|
||||
./dunst.nix
|
||||
./mako.nix
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
|
|
|
@ -9,6 +9,7 @@ in {
|
|||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../plasma.nix
|
||||
../hyprland.nix
|
||||
../../services/${hostName}.nix
|
||||
];
|
||||
# Bootloader.
|
||||
|
|
|
@ -2,13 +2,20 @@
|
|||
let
|
||||
username = "elitherl";
|
||||
homeDirectory = "/home/${username}";
|
||||
monitors = {
|
||||
eDP-1 = "preferred,auto,1.25";
|
||||
Iiyama = "preferred,0x185,1";
|
||||
Dell = "preferred,1920x0,1,transform,1";
|
||||
Acer = "highrr,auto,1";
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
shellConfig
|
||||
../../home/emacs/server.nix
|
||||
../../home/git/work.nix
|
||||
../../home/ssh/work.nix
|
||||
../../home/tui
|
||||
../../home/hyprland
|
||||
../../home/emacs/server.nix
|
||||
../../home/wezterm
|
||||
];
|
||||
home = {
|
||||
|
@ -19,4 +26,47 @@ in {
|
|||
programs.home-manager.enable = true;
|
||||
programs.chromium.enable = true;
|
||||
xdg.configFile."wallpaper.jpg".source = wallpapers.outputs.default;
|
||||
services.kanshi = {
|
||||
enable = true;
|
||||
systemdTarget = "hyprland-session.target";
|
||||
profiles = {
|
||||
default.outputs = [{
|
||||
criteria = "eDP-1";
|
||||
status = "enable";
|
||||
}];
|
||||
workDock.outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "disable";
|
||||
}
|
||||
{
|
||||
criteria = "Iiyama North America PLB2403WS 0574281251316";
|
||||
status = "enable";
|
||||
}
|
||||
{
|
||||
criteria = "Dell Inc. DELL U2417H 5K9YD872FY1L";
|
||||
status = "enable";
|
||||
}
|
||||
];
|
||||
homeDock.outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
status = "disable";
|
||||
}
|
||||
{
|
||||
criteria = "Acer Technologies ED270R TJMEE0043W01";
|
||||
status = "enable";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
xdg.configFile."hypr/display.conf".text = ''
|
||||
monitor=eDP-1,${monitors.eDP-1}
|
||||
monitor=desc:Iiyama North America PLB2403WS 0574281251316,${monitors.Iiyama}
|
||||
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,${monitors.Dell}
|
||||
monitor=desc:Acer Technologies ED270R TJMEE0043W01,${monitors.Acer}
|
||||
|
||||
bindl=,switch:Lid Switch,exec,pkill -9 kanshi
|
||||
bindl=,switch:Lid Switch,exec,pkill -9 hyprpaper && hyprctl dispatch exec hyprpaper
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ in {
|
|||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../desktop.nix
|
||||
../hyprland.nix
|
||||
../../services/${hostName}.nix
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue