From b2226e7486cbbdf3fefeefe5047a150e4305c6f8 Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Sun, 14 Jun 2020 20:51:03 +0200 Subject: [PATCH] Alacritty --- xmonad.hs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/xmonad.hs b/xmonad.hs index 51ae49e..2cbb5d8 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -152,8 +152,13 @@ myManageHook = do ] where myIgnores = [ "desktop", "desktop_window" ] myFloats = [ "Xmessage", "Unity", "Display" ] -myTerm = "st" -myXPConfig = def { font = "xft:SourceCodePro:size=9" , bgColor = "black" , position = Top } +myTerm = "alacritty" +myXPConfig = def { font = "xft:Hack Nerd Font Mono:size=9" + , bgColor = "#073642" + , fgColor = "#b9baba" + , position = Top + , promptBorderWidth = 0 + } replace from to = intercalate to . splitOn from data LibNotifyUrgencyHook = LibNotifyUrgencyHook deriving (Read, Show) @@ -255,7 +260,7 @@ myAdditionalKeys = -- My scratchpads -- -------------------- -myScratchPads = mkXScratchpads [ ("terminal", "st.sh", resource =? "terminal" ) +myScratchPads = mkXScratchpads [ ("terminal", "alac.sh", resource =? "terminal" ) , ("discord", "discord", className =? "discord" ) ] $ customFloating $ W.RationalRect l t w h where h = 0.9 -- GitLab