From a3ddf2ae818fc64716989bc5fa54361633ad646e Mon Sep 17 00:00:00 2001 From: eeva Date: Sat, 27 Jan 2018 15:03:59 +0200 Subject: [PATCH] Move to Iosevka --- lib/KeyBindings.hs | 2 +- xmobarrc | 16 +++------------- xmonad.hs | 7 +++++-- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/lib/KeyBindings.hs b/lib/KeyBindings.hs index bd8ccac..09836a9 100644 --- a/lib/KeyBindings.hs +++ b/lib/KeyBindings.hs @@ -61,7 +61,7 @@ promptConfig = def , defaultText = "" , fgColor = S.base02 , fgHLight = S.base03 - , font = "xft:Fira Code:style=Regular:size=9" + , font = "xft:Iosevka Term:style=Regular:size=8" , height = 24 , promptBorderWidth = 5 } diff --git a/xmobarrc b/xmobarrc index 69204fc..7c1004b 100644 --- a/xmobarrc +++ b/xmobarrc @@ -1,19 +1,9 @@ Config { - font = "xft:Fira Code:style=Regular:size=9" - , template = " %UnsafeStdinReader%}{%battery% • %date% " + font = "xft:Iosevka Term:style=Regular:size=8" + , template = " %UnsafeStdinReader%}{%date% " , commands = [ Run UnsafeStdinReader , Run Date "%A %d %B %H:%M %Z" "date" 10 - , Run Battery [ "--template", "% () W" - , "-L", "25" - , "-H", "35" - , "-l", "#FF0000" - , "-n", "#FFFF00" - , "--" - , "-O", "ac on" - , "-i", "ac idle" - , "-o", "ac off" - ] 50 ] , bgColor = "#002b36" , fgColor = "#839496" @@ -22,7 +12,7 @@ Config { , borderColor = "#859900" , position = TopSize L 100 29 , textOffset = 16 - , additionalFonts = [ "xft:FontAwesome:style=Regular:size=10" ] + , additionalFonts = [ "xft:FontAwesome:style=Regular:size=8" ] -- , sepChar -- , alignSep -- , iconOffset diff --git a/xmonad.hs b/xmonad.hs index 10e1617..0553cf6 100755 --- a/xmonad.hs +++ b/xmonad.hs @@ -23,9 +23,9 @@ import MouseBindings as Mouse (modify) -------- A list of my usual workspaces (with some FontAwesome & xmobar format) wkspcs = [ wrap "" "" "\xF0E0" --  email , wrap "" "" "\xF086" --  chat - , wrap "" "" "\xF121" --  work - , wrap "" "" "\xF126" --  work , wrap "" "" "\xF120" --  work + , wrap "" "" "\xF1B6" --  game + , wrap "" "" "\xF11B" --  game , wrap "" "" "\xF09C" --  password , wrap "" "" "\xF16C" --  web work , wrap "" "" "\xF025" --  sound @@ -46,6 +46,9 @@ layouts = toggleLayouts fullscreen tiled -------------- Here be the law of windows myManageHook = composeOne [ className =? "mpv" -?> doFullFloat <+> (doShift $ last wkspcs) + , className =? "Pinentry" -?> doFloat + , className =? "Steam" -?> doFloat + , className =? "csgo_linux64" -?> doFullFloat , className =? "Pavucontrol" -?> doShift $ wkspcs !! 7 , className =? "qutebrowser" -?> doShift $ wkspcs !! 5 , isDialog -?> doCenterFloat