From 05b0b6f6dd44ef37376350fc4afb8a7ad1b07dd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Mon, 19 May 2025 10:10:20 +0200 Subject: [PATCH] 626 current 1970-01-01 01:00:00 24.11.20250506.1d3aeb5 6.6.89 * --- flake.nix | 1 + modules/home/programs/default.nix | 1 + modules/home/sway/default.nix | 7 +++++++ 3 files changed, 9 insertions(+) diff --git a/flake.nix b/flake.nix index c18f8f0..46a0f23 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,7 @@ "steam" "steam-unwrapped" "stm32cubemx" + "obsidian" ]; }; }; diff --git a/modules/home/programs/default.nix b/modules/home/programs/default.nix index 590d1cb..7f10384 100644 --- a/modules/home/programs/default.nix +++ b/modules/home/programs/default.nix @@ -55,6 +55,7 @@ in { ripgrep-all stm32cubemx flatpak + obsidian ]; }; } diff --git a/modules/home/sway/default.nix b/modules/home/sway/default.nix index b5654e8..45c5b09 100644 --- a/modules/home/sway/default.nix +++ b/modules/home/sway/default.nix @@ -151,6 +151,7 @@ in { "${modifier}+2" = "workspace term"; "${modifier}+3" = "workspace msg"; "${modifier}+4" = "workspace music"; + "${modifier}+o" = "workspace obsidian"; "${modifier}+Shift+1" = "move container to workspace main"; "${modifier}+Shift+2" = "move container to workspace term"; "${modifier}+Shift+3" = "move container to workspace msg"; @@ -185,6 +186,7 @@ in { {app_id = "Element";} ]; "music" = [{app_id = "org.rncbc.qpwgraph";}]; + "obsidian" = [{app_id = "obsidian";}]; }; bars = []; @@ -207,6 +209,7 @@ in { {command = "${pkgs.wezterm}/bin/wezterm start --class start-terminal";} {command = "${pkgs.networkmanagerapplet}/bin/nm-applet";} {command = "${pkgs.firefox}/bin/firefox";} + {command = "${pkgs.obsidian}/bin/obsidian";} ] ++ lib.optionals cfg.laptop [ {command = "${pkgs.squeekboard}/bin/squeekboard";} @@ -242,6 +245,10 @@ in { workspace = "5"; output = ["DP-3" "DP-4" "DP-6" "HDMI-A-1" "eDP-1"]; } + { + workspace = "obsidian"; + output = ["eDP-1"]; + } ]; floating.criteria = [