From 550a09053c26d4183e3f4d3f0d77877f41b15537 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 4 Jan 2020 22:36:36 +0100 Subject: Add zotero --- gui/apps/web.nix | 8 +++++--- gui/conf/xmonad.hs | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gui/apps/web.nix b/gui/apps/web.nix index 2d74ed3..540150a 100644 --- a/gui/apps/web.nix +++ b/gui/apps/web.nix @@ -1,11 +1,13 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { home = { - packages = with pkgs; [ + packages = (with pkgs; [ thunderbird tdesktop - ]; + ]) ++ (with config.custom.nixpkgs-unstable; [ + zotero + ]); }; programs.firefox.enable = true; diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs index cfbbfcc..fb53424 100644 --- a/gui/conf/xmonad.hs +++ b/gui/conf/xmonad.hs @@ -112,6 +112,8 @@ scratchpads host = (customFloating $ hideScreenBorder host dropDown) , NS "thesaurus" "artha" (className =? "Artha") (customFloating $ hideScreenBorder host sideBarLeft) + , NS "literature" "zotero" (className =? "Zotero") + (customFloating $ hideScreenBorder host dropDownLarge) , NS "calculator" "speedcrunch" (className =? "SpeedCrunch") (customFloating $ hideScreenBorder host sideBarLeft) , NS "messaging" "telegram-desktop" ((className =? "TelegramDesktop") <&&> (title /=? "Media viewer")) @@ -194,6 +196,7 @@ commonKeybindings host = , ("M-b" , namedScratchpadAction (scratchpads host) "browser") , ("M-d" , namedScratchpadAction (scratchpads host) "documentation") , ("M-t" , namedScratchpadAction (scratchpads host) "thesaurus") + , ("M-z" , namedScratchpadAction (scratchpads host) "literature") , ("M-r" , namedScratchpadAction (scratchpads host) "calculator") , ("M-m" , namedScratchpadAction (scratchpads host) "messaging") ] ++ -- cgit v1.2.3