Skip to content

Commit dbcd058

Browse files
committed
using taffybar for a while
1 parent 7a25ca4 commit dbcd058

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

stack.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ flags:
4949
with_alsa: true
5050
nix:
5151
#enable: true
52+
# shell-file: shell.nix
5253
add-gc-roots: true
5354
pure: true
5455
# packages:

xmonad/Main.hs

+10-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import Utils (floatingTermClass, alacrittyFloatingOpt)
3939
import XMonad.Layout.LayoutModifier
4040
import qualified XMonad.Util.Run as XUR
4141
import qualified XMonad.Actions.EasyMotion as EM
42+
import XMonad.Hooks.TaffybarPagerHints (pagerHints)
4243

4344
newtype ModeName
4445
= ModeName {getModeName :: Maybe String}
@@ -393,7 +394,15 @@ main :: IO ()
393394
main = do
394395
-- xmobarproc <- spawnPipe "~/.local/bin/xmobar-afreak"
395396
cfg <- getConfig
396-
xmonad . SB.withSB (mySB cfg) . EWMH.ewmhFullscreen . applyRefocusLastHooks . withUrgencyHook NoUrgencyHook . MD.docks $ defaults cfg
397+
xmonad .
398+
--SB.withSB (mySB cfg) .
399+
workspaceNamesEwmh .
400+
EWMH.ewmhFullscreen .
401+
EWMH.ewmh .
402+
applyRefocusLastHooks .
403+
withUrgencyHook NoUrgencyHook .
404+
MD.docks .
405+
pagerHints $ defaults cfg
397406

398407
applyRefocusLastHooks :: XConfig l -> XConfig (ModifiedLayout RefocusLastLayoutHook l)
399408
applyRefocusLastHooks c = c { handleEventHook = handleEventHook c <+> refocusLastWhen isFloat

0 commit comments

Comments
 (0)