aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-01-04 22:36:36 +0100
committerAdrian Kummerlaender2020-01-07 11:38:40 +0100
commit550a09053c26d4183e3f4d3f0d77877f41b15537 (patch)
treed2026a191baa07188b30753175e53626274385c5
parent78eecca75413000d764a8bb5be4fe6a656e4cba6 (diff)
downloadnixos_home-550a09053c26d4183e3f4d3f0d77877f41b15537.tar
nixos_home-550a09053c26d4183e3f4d3f0d77877f41b15537.tar.gz
nixos_home-550a09053c26d4183e3f4d3f0d77877f41b15537.tar.bz2
nixos_home-550a09053c26d4183e3f4d3f0d77877f41b15537.tar.lz
nixos_home-550a09053c26d4183e3f4d3f0d77877f41b15537.tar.xz
nixos_home-550a09053c26d4183e3f4d3f0d77877f41b15537.tar.zst
nixos_home-550a09053c26d4183e3f4d3f0d77877f41b15537.zip
Add zotero
-rw-r--r--gui/apps/web.nix8
-rw-r--r--gui/conf/xmonad.hs3
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") ] ++