Update Iosevka statement
This commit is contained in:
parent
96fcfeee3f
commit
11fb80639d
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue