aboutsummaryrefslogtreecommitdiff
path: root/.config/XMonad/lib
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-05-21 21:13:48 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-05-21 21:13:48 +0530
commit58816ab030ef78b855e0c01036da594968310cde (patch)
tree57de80e1eb30c9ad6bd2e0dc2e94a3285505bfa8 /.config/XMonad/lib
parentfba63a0b136906b8d5636c987e56e1b468efeec4 (diff)
Fixed Polybar workspaces not working through XMonad
Diffstat (limited to '.config/XMonad/lib')
-rw-r--r--.config/XMonad/lib/Defaults.hs6
-rw-r--r--.config/XMonad/lib/Hooks.hs2
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/XMonad/lib/Defaults.hs b/.config/XMonad/lib/Defaults.hs
index 0d751d6..c528829 100644
--- a/.config/XMonad/lib/Defaults.hs
+++ b/.config/XMonad/lib/Defaults.hs
@@ -58,10 +58,10 @@ myExtraWorkspaces = [(xK_0, "十")]
myWorkspaces = ["一", "二", "三", "四", "五", "六", "七", "八", "九"] ++ map snd myExtraWorkspaces
-- screen gaps
-sGap = 4
-wGap = 6
+sGap = 3
+wGap = 4
-myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True
+myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True
myTabTheme = def {
fontName = myFont
diff --git a/.config/XMonad/lib/Hooks.hs b/.config/XMonad/lib/Hooks.hs
index 9464b41..b51f076 100644
--- a/.config/XMonad/lib/Hooks.hs
+++ b/.config/XMonad/lib/Hooks.hs
@@ -6,11 +6,11 @@ import XMonad
import XMonad.Layout.Spacing
import XMonad.Layout.WindowNavigation as WN
import XMonad.Layout.Maximize
-import XMonad.Layout.NoBorders
import XMonad.Layout.BinarySpacePartition as BSP
import XMonad.Layout.Grid
import XMonad.Layout.Tabbed
+import XMonad.Layout.NoBorders
import XMonad.Hooks.SetWMName
import XMonad.Hooks.ManageDocks