From 002fe5541738ab48110beed04df138710ca83c20 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Tue, 30 Aug 2022 00:45:49 +0200 Subject: [PATCH] update xmonad : mirage, joplin --- nixos/system/desktop/home-manager/xmonad.nix | 2 ++ nixos/system/desktop/home-manager/xmonad/Main.hs | 12 +++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/nixos/system/desktop/home-manager/xmonad.nix b/nixos/system/desktop/home-manager/xmonad.nix index 6d161dd..874da3b 100644 --- a/nixos/system/desktop/home-manager/xmonad.nix +++ b/nixos/system/desktop/home-manager/xmonad.nix @@ -26,6 +26,8 @@ let nixStartAlbert = "${pkgs.albert}/bin/albert" nixStartCopyq = "${pkgs.copyq}/bin/copyq" nixShowCopyq = "${pkgs.copyq}/bin/copyq show" + nixShowChat = "${pkgs.mirage-im}/bin/mirage" + nixShowJoplin = "${pkgs.unstable.joplin-desktop}/bin/joplin-desktop" nixStartTerminal = "${pkgs.rxvt_unicode}/bin/urxvtc" nixAlsaRaiseVolume = "${pkgs.alsaUtils}/bin/amixer set Master 5%+" nixAlsaLowerVolume = "${pkgs.alsaUtils}/bin/amixer set Master 5%-" diff --git a/nixos/system/desktop/home-manager/xmonad/Main.hs b/nixos/system/desktop/home-manager/xmonad/Main.hs index a79ae6f..2cc3d54 100644 --- a/nixos/system/desktop/home-manager/xmonad/Main.hs +++ b/nixos/system/desktop/home-manager/xmonad/Main.hs @@ -81,7 +81,7 @@ myLayout = -- default workspaces they will always be there. -- And they are protected against renaming myWorkspaces :: [String] -myWorkspaces = ["1", "2", "3", "4"] +myWorkspaces = ["1", "2", "3", "4", "5", "6"] -- workspaces names to be used only by one program, partly spawning on startup. autoSpawnWorkspaces :: [String] @@ -111,6 +111,16 @@ projects = , projectDirectory = "~/" , projectStartHook = Just $ spawn nixShowCopyq } + , Project + { projectName = "chat" + , projectDirectory = "~/" + , projectStartHook = Just $ spawn nixShowChat + } + , Project + { projectName = "joplin" + , projectDirectory = "~/" + , projectStartHook = Just $ spawn nixShowJoplin + } ] -- ------------------------------------------------------------