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 + } ] -- ------------------------------------------------------------