From a45afd041241b346c107ba3e07c409619a6832c3 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 30 Aug 2023 13:59:44 +0100 Subject: [PATCH] Disable hyprland splash rendering on laptop Unbind zathura from files workspace --- home/hyprland/config.nix | 1 - hosts/Ronin/home.nix | 31 +++++++++++++++++++++++-------- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/home/hyprland/config.nix b/home/hyprland/config.nix index aaa30cc7..0921b661 100644 --- a/home/hyprland/config.nix +++ b/home/hyprland/config.nix @@ -161,7 +161,6 @@ in '' bind = SUPER, F, moveworkspacetomonitor, name:files current bind = SUPER, F, workspace, name:files bind = SUPER SHIFT, F, movetoworkspace, name:files - windowrule = workspace name:files,(org.pwmt.zathura) windowrule = workspace name:files,^(libreoffice).* windowrule = workspace name:files,(thunar) windowrulev2 = workspace name:files,title:(Open),class:(soffice) diff --git a/hosts/Ronin/home.nix b/hosts/Ronin/home.nix index 2131076b..58d7829f 100644 --- a/hosts/Ronin/home.nix +++ b/hosts/Ronin/home.nix @@ -152,13 +152,19 @@ in { }; services.kanshi.profiles = { undocked = { - outputs = [{ - criteria = "eDP-1"; - mode = "1920x1080"; - position = "0,0"; - scale = 1.0; - status = "enable"; - }]; + outputs = [ + { + criteria = "eDP-1"; + mode = "1920x1080"; + position = "0,0"; + scale = 1.0; + status = "enable"; + } + { + criteria = "*"; + status = "enable"; + } + ]; }; work = { outputs = [ @@ -171,6 +177,10 @@ in { criteria = "eDP-1"; status = "disable"; } + { + criteria = "*"; + status = "enable"; + } ]; }; home = { @@ -188,8 +198,13 @@ in { }; }; xdg.configFile."hypr/display.conf".text = '' + misc { + disable_hyprland_logo = true + disable_splash_rendering = true + } monitor=eDP-1,preferred,auto,1 - monitor=desc:Iiyama North America PLB2403WS 0574281251316,highres,0x0,1 + monitor=desc:Iiyama North America PLB2403WS 0574281251316,preferred,0x185,1 + monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,preferred,1920x0,1,transform,1 monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1 ''; }