Update Iosevka statement

This commit is contained in:
EEva 2021-08-25 20:08:49 +03:00
parent 96fcfeee3f
commit 11fb80639d

View file

@ -4,6 +4,7 @@ module KeyBindings (
) where
import Control.Monad (void)
import Data.Foldable (forM_)
import Data.List (sort, isSuffixOf)
import Data.Maybe (isJust)
import Graphics.X11.Types
@ -70,9 +71,7 @@ modify conf = conf
viewProject :: WorkspaceId -> X ()
viewProject id = do
project <- lookupProject id
case project of
Just p -> switchProject p
Nothing -> return ()
forM_ project switchProject
-- Borrowed from https://www.reddit.com/r/xmonad/comments/gzq316/how_can_i_centre_a_floating_window_without/fthtx29/
centerWindow :: Window -> X ()
@ -93,7 +92,7 @@ promptConfig = def
, fgHLight = N.background
--
, defaultText = ""
, font = "xft:Iosevka Samae:style=Regular:size=8"
, font = "xft:Iosevka Samae:style=Regular:size=8:charwidth=5"
, height = 24
, promptBorderWidth = 5
}