diff options
author | tv <tv@krebsco.de> | 2023-01-11 15:17:10 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-01-11 15:23:55 +0100 |
commit | 59a447ac046424c27fa926a2416885c4f6724a7a (patch) | |
tree | 619e004838e63f78b50818581b0a20133770d3ac /tv/5pkgs/haskell/xmonad-tv/src/Build.hs | |
parent | bd2aef1cd269185e0aa2ea42204b339fc6710bb6 (diff) |
tv xmonad: get font and screen info from env
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, 0 insertions, 24 deletions
diff --git a/tv/5pkgs/haskell/xmonad-tv/src/Build.hs b/tv/5pkgs/haskell/xmonad-tv/src/Build.hs deleted file mode 100644 index 553a129b1..000000000 --- a/tv/5pkgs/haskell/xmonad-tv/src/Build.hs +++ /dev/null @@ -1,24 +0,0 @@ -{-# 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 |