summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-16 00:27:37 +0100
committerjao <jao@gnu.org>2022-09-16 00:27:37 +0100
commitea075213baa7e6fe6ed519a6b5c70e7ae89a56a1 (patch)
tree5e7f4073ac1fb9f3abfb1171e5e529f6ea80b042
parentdc97a1485806f8e9ff97a87e1572ea38ca70ab07 (diff)
downloadxmobar-ea075213baa7e6fe6ed519a6b5c70e7ae89a56a1.tar.gz
xmobar-ea075213baa7e6fe6ed519a6b5c70e7ae89a56a1.tar.bz2
linting and version bump
-rw-r--r--src/Xmobar/X11/CairoDraw.hs2
-rw-r--r--xmobar.cabal14
2 files changed, 6 insertions, 10 deletions
diff --git a/src/Xmobar/X11/CairoDraw.hs b/src/Xmobar/X11/CairoDraw.hs
index feb4448..102e4ad 100644
--- a/src/Xmobar/X11/CairoDraw.hs
+++ b/src/Xmobar/X11/CairoDraw.hs
@@ -238,7 +238,7 @@ drawBoxes dctx surf ((from, to, b):(from', to', b'):bxs) =
if to < from' || b /= b'
then do drawBoxes' dctx surf (from, to, b)
drawBoxes dctx surf $ (from', to', b'):bxs
- else do drawBoxes dctx surf $ (from, to', b'):bxs
+ else drawBoxes dctx surf $ (from, to', b'):bxs
drawBoxes dctx surf [bi] = drawBoxes' dctx surf bi
diff --git a/xmobar.cabal b/xmobar.cabal
index 3bf1dd6..b973c5a 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -1,5 +1,5 @@
name: xmobar
-version: 0.44.2
+version: 0.45
homepage: https://codeberg.org/xmobar/xmobar
synopsis: A Minimalistic Text Based Status Bar
description: Xmobar is a minimalistic text based status bar.
@@ -32,12 +32,12 @@ source-repository head
location: git://codeberg.org/xmobar/xmobar.git
branch: master
-flag with_xrender
- description: Use XRender for alpha background pseudo-transparency.
-
flag with_cairo
description: Use Cairo and Pango to render anti-aliased text.
+flag with_xrender
+ description: Use XRender for alpha background pseudo-transparency.
+
flag with_inotify
description: inotify support (modern Linux only). Required for the Mail and MBox plugins.
default: False
@@ -359,9 +359,6 @@ executable xmobar
ghc-options: -with-rtsopts=-V0
if flag(with_threaded)
- -- -threaded is a workaround for 100% CPU busy loop
- -- (http://hackage.haskell.org/trac/ghc/ticket/4934).
- -- See also comments in https://codeberg.org/xmobar/xmobar/pulls/36
ghc-options: -threaded
cpp-options: -DTHREADED_RUNTIME
@@ -425,8 +422,7 @@ test-suite XmobarTest
benchmark xmobarbench
type: exitcode-stdio-1.0
main-is: main.hs
- hs-source-dirs:
- bench
+ hs-source-dirs: bench
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind -O2
build-depends: base, gauge, mtl, time, xmobar
default-language: Haskell2010