summaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
authorLibravatar Fabian Kirchner <kirchner@posteo.de>2024-08-12 13:01:47 +0200
committerLibravatar Fabian Kirchner <kirchner@posteo.de>2024-08-12 13:01:47 +0200
commit27d773e746ecbaffd0304da7adbb90a9e1b3c0e0 (patch)
treefad958d653ec84888591d6719c8559d0e4f0f420 /app/Main.hs
parent07acb8985844bf1df34eeab13abc0f6ca279d93f (diff)
fix: fix padding on the right side
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 66883b9..b8fa0e2 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -143,7 +143,7 @@ createWindow args = do
vmsk = X.cWColormap .|. X.cWBorderPixel .|. X.cWBackingPixel .|. X.cWOverrideRedirect
swidth = fi (X.displayWidth dpy scrn)
sheight = fi (X.displayHeight dpy scrn)
- wwidth = swidth - 16
+ wwidth = swidth - 2 * wspac
wspac = args.spacing
wleft = wspac
fnt <- X.xftFontOpen dpy scr "IosevkaTerm Nerd Font:size=14"