From e39d35490a913818ad70321fd8035a87ea2e9b22 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Fri, 3 Apr 2026 03:03:43 +0200 Subject: [PATCH] yggdrasil: niri and discord improvments --- modules/desktop/niri.nix | 23 +++++++++++++++++------ modules/games/communication.nix | 2 +- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/modules/desktop/niri.nix b/modules/desktop/niri.nix index 8a9a3ac..bea3f1b 100644 --- a/modules/desktop/niri.nix +++ b/modules/desktop/niri.nix @@ -220,6 +220,15 @@ open-on-output = "DP-1"; } + { + matches = [ + { + app-id = "zen-beta"; + } + ]; + + open-on-workspace = "01-zen"; + } { matches = [ { @@ -233,7 +242,9 @@ { matches = [ { - app-id = "obsidian"; + app-id = "electron"; + title = "Obsidian"; + at-startup = true; } { app-id = "teams-for-linux"; @@ -258,8 +269,6 @@ open-on-workspace = "02-games"; default-column-width.proportion = 1.0; default-window-height.proportion = 1.0; - min-width = 3440; - min-height = 1440; } { matches = [ @@ -267,7 +276,7 @@ app-id = "Element"; } { - app-id = "discord"; + app-id = "vesktop"; } { app-id = "steam"; @@ -296,7 +305,7 @@ app-id = "1Password"; } { - app-id = "discord"; + app-id = "vesktop"; } { app-id = "Element"; @@ -421,6 +430,7 @@ "Mod+R".action = actions.switch-preset-column-width; "Mod+Shift+R".action = actions.switch-preset-window-height; "Mod+Ctrl+R".action = actions.reset-window-height; + "Mod+G".action = actions.toggle-window-floating; "Mod+F".action = actions.maximize-column; "Mod+Shift+F".action = actions.fullscreen-window; "Mod+Ctrl+F".action = actions.expand-column-to-available-width; @@ -442,7 +452,8 @@ spawn-at-startup = [ { argv = [ "zen-beta" ]; } { argv = [ "obsidian" ]; } - { argv = [ "discord" ]; } + { argv = [ "element-desktop" ]; } + { argv = [ "vesktop" ]; } { argv = [ "1password" ]; } { sh = "sleep 1 && steam"; } ]; diff --git a/modules/games/communication.nix b/modules/games/communication.nix index cb65ff2..3f4b407 100644 --- a/modules/games/communication.nix +++ b/modules/games/communication.nix @@ -3,7 +3,7 @@ { pkgs, ... }: { environment.systemPackages = with pkgs; [ - discord + vesktop teamspeak6-client element-desktop ];