aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/apps/dev.nix2
-rw-r--r--gui/conf/xmonad.hs3
2 files changed, 5 insertions, 0 deletions
diff --git a/gui/apps/dev.nix b/gui/apps/dev.nix
index 9b2c044..44662bb 100644
--- a/gui/apps/dev.nix
+++ b/gui/apps/dev.nix
@@ -13,6 +13,8 @@
meld
# language utilities
artha
+ # calculator
+ speedcrunch
];
};
}
diff --git a/gui/conf/xmonad.hs b/gui/conf/xmonad.hs
index c9c71e5..4a42316 100644
--- a/gui/conf/xmonad.hs
+++ b/gui/conf/xmonad.hs
@@ -104,6 +104,8 @@ scratchpads host =
(customFloating $ hideScreenBorder host dropDown)
, NS "thesaurus" "artha" (className =? "Artha")
(customFloating $ hideScreenBorder host sideBarLeft)
+ , NS "calculator" "speedcrunch" (className =? "SpeedCrunch")
+ (customFloating $ hideScreenBorder host sideBarLeft)
, NS "messaging" "telegram-desktop" ((className =? "TelegramDesktop") <&&> (title /=? "Media viewer"))
(customFloating $ hideScreenBorder host sideBarRight) ]
@@ -167,6 +169,7 @@ commonKeybindings host =
, ("M-b" , namedScratchpadAction (scratchpads host) "browser")
, ("M-d" , namedScratchpadAction (scratchpads host) "documentation")
, ("M-t" , namedScratchpadAction (scratchpads host) "thesaurus")
+ , ("M-r" , namedScratchpadAction (scratchpads host) "calculator")
, ("M-m" , namedScratchpadAction (scratchpads host) "messaging") ] ++
-- workspace selection
[ (p ++ [k] , windows $ f i) | (i, k) <- zip Main.workspaces ['1' .. '9']