From 38e942b541810a95362934385c2c915361f3f251 Mon Sep 17 00:00:00 2001 From: Maximilian Huber Date: Sun, 25 Feb 2024 08:08:04 +0100 Subject: [PATCH] update Signed-off-by: Maximilian Huber --- hosts/host.p14/default.nix | 14 +++++++------- modules/myconfig.desktop.cad.nix | 2 +- .../hypr/hyprland.binds.conf | 1 - .../hypr/hyprland.windowrule.conf | 10 +++++----- 4 files changed, 13 insertions(+), 14 deletions(-) diff --git a/hosts/host.p14/default.nix b/hosts/host.p14/default.nix index afdb1deb0a..ceb708e471 100644 --- a/hosts/host.p14/default.nix +++ b/hosts/host.p14/default.nix @@ -54,13 +54,13 @@ home.packages = with pkgs; [ (writeShellScriptBin "hyprctl-monitors-home" "${hyprctl} hyprctl --batch 'keyword monitor ${eDP-1}; keyword monitor ${DP-5}; keyword monitor ${DP-3}'") ]; - wayland.windowManager.hyprland = { - extraConfig = '' - device:opentabletdriver-virtual-artist-tablet { - output=DP-5 - } - ''; - }; + # wayland.windowManager.hyprland = { + # extraConfig = '' + # device:opentabletdriver-virtual-artist-tablet { + # output=DP-5 + # } + # ''; + # }; })]; }; } diff --git a/modules/myconfig.desktop.cad.nix b/modules/myconfig.desktop.cad.nix index a216d556af..1eb3c478da 100644 --- a/modules/myconfig.desktop.cad.nix +++ b/modules/myconfig.desktop.cad.nix @@ -20,7 +20,7 @@ in { meshlab gmsh ] ++ [ # pcb design - librepcb + # librepcb gerbv # kicad-small kicad diff --git a/modules/myconfig.desktop.wayland.hyprland/hypr/hyprland.binds.conf b/modules/myconfig.desktop.wayland.hyprland/hypr/hyprland.binds.conf index c42bb08f25..f454f29ed9 100644 --- a/modules/myconfig.desktop.wayland.hyprland/hypr/hyprland.binds.conf +++ b/modules/myconfig.desktop.wayland.hyprland/hypr/hyprland.binds.conf @@ -92,7 +92,6 @@ bind = $mainMod CONTROL, Tab, changegroupactive, # submap = reset # Switch workspaces with mainMod + [0-9] -focusWorkspaceOnCurrentMonitor bind = $mainMod, U, focusWorkspaceOnCurrentMonitor, 1 bind = $mainMod, I, focusWorkspaceOnCurrentMonitor, 2 bind = $mainMod, A, focusWorkspaceOnCurrentMonitor, 3 diff --git a/modules/myconfig.desktop.wayland.hyprland/hypr/hyprland.windowrule.conf b/modules/myconfig.desktop.wayland.hyprland/hypr/hyprland.windowrule.conf index 7e8a5f2f0a..97d0213430 100644 --- a/modules/myconfig.desktop.wayland.hyprland/hypr/hyprland.windowrule.conf +++ b/modules/myconfig.desktop.wayland.hyprland/hypr/hyprland.windowrule.conf @@ -1,7 +1,6 @@ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # windowrulev2 = nomaximizerequest, class:.* -windowrulev2 = suppressevent fullscreen, class:.* # windowrulev2 = suppressevent fullscreen maximize, class:.* windowrulev2 = bordercolor rgb(3CC7D8) rgb(1A5665),fullscreen:1 windowrulev2 = opacity 0.8 0.8, pinned:1 @@ -17,9 +16,9 @@ windowrulev2 = stayfocused,class:^(gcr-prompter)$ # firefox Picture-in-Picture windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2 = pin,class:^(firefox)$,title:^(Picture-in-Picture)$ -# windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Picture-in-Picture)$ +windowrulev2 = suppressevent fullscreen maximize,class:^(firefox)$,title:^(Picture-in-Picture)$ # # firefox figma micro indicator -# windowrulev2 = nofullscreenrequest,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$ +windowrulev2 = suppressevent fullscreen maximize,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$ windowrulev2 = float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$ windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ @@ -58,8 +57,9 @@ windowrulev2 = nodim,class:^(zoom)$ windowrulev2 = opacity 1.0 override 1.0 override,class:^(zoom)$ # Freeplane +windowrulev2 = tile,class:^(org-knopflerfish-framework-BundleThread)$ windowrulev2 = tile,class:^(org-knopflerfish-framework-BundleThread)$,initialTitle:^(Freeplane - Mind map mode)$ -windowrulev2 = float,class:^(org-knopflerfish-framework-BundleThread)$,initialTitle:^(win.*)$ +# windowrulev2 = float,class:^(org-knopflerfish-framework-BundleThread)$,initialTitle:^(win.*)$ windowrulev2 = nodim,class:^(org-knopflerfish-framework-BundleThread)$ windowrulev2 = opacity 1.0 override 1.0 override,class:^(org-knopflerfish-framework-BundleThread)$ # windowrulev2 = float,initialTitle:^(win1)$ @@ -75,6 +75,6 @@ windowrule = opacity 1.0 override 1.0 override,Gimp windowrule = nodim,darktable windowrule = nodim,geeqie windowrule = nodim,sxiv -# windowrule = nofullscreenrequest,neovide +windowrule = suppressevent fullscreen maximize,neovide windowrulev2 = rounding 12,floating:1