yggdrasil: niri and discord improvments

This commit is contained in:
Christoph Hollizeck 2026-04-03 03:03:43 +02:00
parent baaf287daf
commit e39d35490a
2 changed files with 18 additions and 7 deletions

View file

@ -220,6 +220,15 @@
open-on-output = "DP-1"; open-on-output = "DP-1";
} }
{
matches = [
{
app-id = "zen-beta";
}
];
open-on-workspace = "01-zen";
}
{ {
matches = [ matches = [
{ {
@ -233,7 +242,9 @@
{ {
matches = [ matches = [
{ {
app-id = "obsidian"; app-id = "electron";
title = "Obsidian";
at-startup = true;
} }
{ {
app-id = "teams-for-linux"; app-id = "teams-for-linux";
@ -258,8 +269,6 @@
open-on-workspace = "02-games"; open-on-workspace = "02-games";
default-column-width.proportion = 1.0; default-column-width.proportion = 1.0;
default-window-height.proportion = 1.0; default-window-height.proportion = 1.0;
min-width = 3440;
min-height = 1440;
} }
{ {
matches = [ matches = [
@ -267,7 +276,7 @@
app-id = "Element"; app-id = "Element";
} }
{ {
app-id = "discord"; app-id = "vesktop";
} }
{ {
app-id = "steam"; app-id = "steam";
@ -296,7 +305,7 @@
app-id = "1Password"; app-id = "1Password";
} }
{ {
app-id = "discord"; app-id = "vesktop";
} }
{ {
app-id = "Element"; app-id = "Element";
@ -421,6 +430,7 @@
"Mod+R".action = actions.switch-preset-column-width; "Mod+R".action = actions.switch-preset-column-width;
"Mod+Shift+R".action = actions.switch-preset-window-height; "Mod+Shift+R".action = actions.switch-preset-window-height;
"Mod+Ctrl+R".action = actions.reset-window-height; "Mod+Ctrl+R".action = actions.reset-window-height;
"Mod+G".action = actions.toggle-window-floating;
"Mod+F".action = actions.maximize-column; "Mod+F".action = actions.maximize-column;
"Mod+Shift+F".action = actions.fullscreen-window; "Mod+Shift+F".action = actions.fullscreen-window;
"Mod+Ctrl+F".action = actions.expand-column-to-available-width; "Mod+Ctrl+F".action = actions.expand-column-to-available-width;
@ -442,7 +452,8 @@
spawn-at-startup = [ spawn-at-startup = [
{ argv = [ "zen-beta" ]; } { argv = [ "zen-beta" ]; }
{ argv = [ "obsidian" ]; } { argv = [ "obsidian" ]; }
{ argv = [ "discord" ]; } { argv = [ "element-desktop" ]; }
{ argv = [ "vesktop" ]; }
{ argv = [ "1password" ]; } { argv = [ "1password" ]; }
{ sh = "sleep 1 && steam"; } { sh = "sleep 1 && steam"; }
]; ];

View file

@ -3,7 +3,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
discord vesktop
teamspeak6-client teamspeak6-client
element-desktop element-desktop
]; ];