mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 06:11:55 -05:00
home/sway: move display configuration to hosts
This commit is contained in:
parent
fdd4b61a43
commit
a95c7d5ee3
|
@ -231,23 +231,6 @@ in {
|
||||||
++ lib.optional cfg.desktop.sway.randomWallpaper {command = "${scripts.randomWallpaper}";}
|
++ lib.optional cfg.desktop.sway.randomWallpaper {command = "${scripts.randomWallpaper}";}
|
||||||
++ lib.optional (!cfg.desktop.sway.randomWallpaper) {command = "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}";};
|
++ lib.optional (!cfg.desktop.sway.randomWallpaper) {command = "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}";};
|
||||||
|
|
||||||
output = {
|
|
||||||
"BOE 0x095F Unknown".scale = "1.5";
|
|
||||||
"LG Display 0x0569 Unknown".scale = "1.0";
|
|
||||||
"Samsung Display Corp. 0x4152 Unknown".scale = "2.0";
|
|
||||||
"LG Electronics LG ULTRAWIDE 311NTAB5M720".scale = "1.25";
|
|
||||||
|
|
||||||
"Guangxi Century Innovation Display Electronics Co., Ltd 27C1U-D 0000000000001" = {
|
|
||||||
scale = "1.5";
|
|
||||||
pos = "-2560 0";
|
|
||||||
};
|
|
||||||
|
|
||||||
"HP Inc. HP 24mh 3CM037248S " = {
|
|
||||||
scale = "1.0";
|
|
||||||
pos = "-1920 0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
floating.criteria = [
|
floating.criteria = [
|
||||||
{app_id = ".blueman-manager-wrapped";}
|
{app_id = ".blueman-manager-wrapped";}
|
||||||
{app_id = "Bitwarden";}
|
{app_id = "Bitwarden";}
|
||||||
|
@ -340,7 +323,7 @@ in {
|
||||||
blur enable
|
blur enable
|
||||||
blur_passes 1
|
blur_passes 1
|
||||||
|
|
||||||
corner_radius 10
|
# corner_radius 10
|
||||||
shadows enable
|
shadows enable
|
||||||
shadows_on_csd enable
|
shadows_on_csd enable
|
||||||
shadow_color ${cfg.theme.colors.shadow}
|
shadow_color ${cfg.theme.colors.shadow}
|
||||||
|
|
|
@ -14,6 +14,18 @@
|
||||||
"workspace 10: zoom" = [{class = "zoom";} {app_id = "Zoom";}];
|
"workspace 10: zoom" = [{class = "zoom";} {app_id = "Zoom";}];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
output = {
|
||||||
|
"Guangxi Century Innovation Display Electronics Co., Ltd 27C1U-D 0000000000001" = {
|
||||||
|
scale = "1.5";
|
||||||
|
pos = "-2560 0";
|
||||||
|
};
|
||||||
|
|
||||||
|
"HP Inc. HP 24mh 3CM037248S " = {
|
||||||
|
scale = "1.0";
|
||||||
|
pos = "-1920 0";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
startup = [
|
startup = [
|
||||||
{command = ''${lib.getExe' pkgs.keepassxc "keepassxc"}'';}
|
{command = ''${lib.getExe' pkgs.keepassxc "keepassxc"}'';}
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
{
|
{
|
||||||
|
wayland.windowManager.sway.config.output = {"BOE 0x095F Unknown".scale = "1.5";};
|
||||||
ar.home.desktop.hyprland.laptopMonitors = ["desc:BOE 0x095F,preferred,auto,1.566667"];
|
ar.home.desktop.hyprland.laptopMonitors = ["desc:BOE 0x095F,preferred,auto,1.566667"];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{
|
{
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
{
|
{
|
||||||
|
wayland.windowManager.sway.config.output = {"BOE 0x095F Unknown".scale = "1.5";};
|
||||||
|
|
||||||
ar.home = {
|
ar.home = {
|
||||||
desktop.hyprland.laptopMonitors = ["desc:BOE 0x095F,preferred,auto,1.566667"];
|
desktop.hyprland.laptopMonitors = ["desc:BOE 0x095F,preferred,auto,1.566667"];
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
home-manager = {
|
home-manager = {
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
{
|
{
|
||||||
|
wayland.windowManager.sway.config.output = {"LG Electronics LG ULTRAWIDE 311NTAB5M720".scale = "1.25";};
|
||||||
xdg.userDirs.music = "/mnt/Media/Music";
|
xdg.userDirs.music = "/mnt/Media/Music";
|
||||||
|
|
||||||
ar.home = {
|
ar.home = {
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
}: {
|
}: {
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager = {
|
||||||
|
hyprland.settings = {
|
||||||
bind = [
|
bind = [
|
||||||
",xf86launch4,exec,${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}"
|
",xf86launch4,exec,${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}"
|
||||||
",xf86launch2,exec,${lib.getExe pkgs.playerctl} play-pause"
|
",xf86launch2,exec,${lib.getExe pkgs.playerctl} play-pause"
|
||||||
|
@ -22,7 +23,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
ar.home.desktop.sway.enable = true;
|
sway.config.output = {"Samsung Display Corp. 0x4152 Unknown".scale = "2.0";};
|
||||||
|
};
|
||||||
|
|
||||||
ar.home.desktop.hyprland = {
|
ar.home.desktop.hyprland = {
|
||||||
laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];
|
laptopMonitors = ["desc:Samsung Display Corp. 0x4152,preferred,auto,2,transform,0"];
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
gtk.font.size = lib.mkForce 14;
|
gtk.font.size = lib.mkForce 14;
|
||||||
home.pointerCursor.size = lib.mkForce 24;
|
home.pointerCursor.size = lib.mkForce 24;
|
||||||
programs.vscode.userSettings."editor.fontSize" = lib.mkForce "16";
|
wayland.windowManager.sway.config.output = {"LG Display 0x0569 Unknown".scale = "1.0";};
|
||||||
|
|
||||||
ar.home = {
|
ar.home = {
|
||||||
desktop.hyprland.laptopMonitors = ["desc:LG Display 0x0569,preferred,auto,1.0"];
|
desktop.hyprland.laptopMonitors = ["desc:LG Display 0x0569,preferred,auto,1.0"];
|
||||||
|
|
Loading…
Reference in a new issue