diff options
author | lassulus <lassulus@lassul.us> | 2022-12-05 21:32:08 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-12-05 21:32:08 +0100 |
commit | 0447cf6a5fd3435a0acb68d077b0380da12f104d (patch) | |
tree | bb3644b84ce81b64443efd8e767a121a741bb008 /tv/5pkgs/haskell/xmonad-tv/src/Build.hs | |
parent | 5d0d1993b6207c283189a2c81c8c76f549d44b2a (diff) | |
parent | 8e32364d6299b5f5816d886653349794aadc1ec9 (diff) |
Merge remote-tracking branch 'ni/master' into 22.11
Diffstat (limited to 'tv/5pkgs/haskell/xmonad-tv/src/Build.hs')
-rw-r--r-- | tv/5pkgs/haskell/xmonad-tv/src/Build.hs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tv/5pkgs/haskell/xmonad-tv/src/Build.hs b/tv/5pkgs/haskell/xmonad-tv/src/Build.hs new file mode 100644 index 000000000..553a129b1 --- /dev/null +++ b/tv/5pkgs/haskell/xmonad-tv/src/Build.hs @@ -0,0 +1,24 @@ +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TypeApplications #-} + +module Build where + +import XMonad (Dimension) +import THEnv.JSON (getCompileEnvJSONExp) + + +myFont :: String +myFont = + "-schumacher-*-*-*-*-*-*-*-*-*-*-*-iso10646-*" + +myScreenWidth :: Dimension +myScreenWidth = + $(getCompileEnvJSONExp (id @Dimension) "XMONAD_BUILD_SCREEN_WIDTH") + +myTermFontWidth :: Dimension +myTermFontWidth = + $(getCompileEnvJSONExp (id @Dimension) "XMONAD_BUILD_TERM_FONT_WIDTH") + +myTermPadding :: Dimension +myTermPadding = + 2 |