diff --git a/.config/xmonad/.gitignore b/.config/xmonad/.gitignore index f536ebc..61a1cbf 100644 --- a/.config/xmonad/.gitignore +++ b/.config/xmonad/.gitignore @@ -1,3 +1,5 @@ +*.hi +*.o .ghc.* .stack-work stack.* diff --git a/.config/xmonad/lib/Colors/DoomOne.hs b/.config/xmonad/lib/Colors/DoomOne.hs deleted file mode 100644 index a4fdb0f..0000000 --- a/.config/xmonad/lib/Colors/DoomOne.hs +++ /dev/null @@ -1,28 +0,0 @@ -module Colors.DoomOne where - -import XMonad - -colorScheme = "doom-one" - -colorBack = "#282c34" -colorFore = "#bbc2cf" - -color01 = "#1c1f24" -color02 = "#ff6c6b" -color03 = "#98be65" -color04 = "#da8548" -color05 = "#51afef" -color06 = "#c678dd" -color07 = "#5699af" -color08 = "#202328" -color09 = "#5b6268" -color10 = "#da8548" -color11 = "#4db5bd" -color12 = "#ecbe7b" -color13 = "#3071db" -color14 = "#a9a1e1" -color15 = "#46d9ff" -color16 = "#dfdfdf" - -colorTrayer :: String -colorTrayer = "--tint 0x282c34" diff --git a/.config/xmonad/lib/Colors/DoomOne.o b/.config/xmonad/lib/Colors/DoomOne.o index 752ed53..d673a77 100644 Binary files a/.config/xmonad/lib/Colors/DoomOne.o and b/.config/xmonad/lib/Colors/DoomOne.o differ diff --git a/.config/xmonad/lib/Colors/Teal.hs b/.config/xmonad/lib/Colors/Teal.hs new file mode 100644 index 0000000..472e51a --- /dev/null +++ b/.config/xmonad/lib/Colors/Teal.hs @@ -0,0 +1,18 @@ + +module Colors.Teal where + +import XMonad + +colorScheme = "teal" + +colorBack = "#282c34" +colorFore = "#bbc2cf" + +color01 = "#006666" +color02 = "#01F9C1" +color03 = "#5b6268" +color04 = "#b2d8d8" +color05 = "#02CB9E" + +colorTrayer :: String +colorTrayer = "--tint 0x282c34" diff --git a/.config/xmonad/xmonad.hs b/.config/xmonad/xmonad.hs index 79c87b3..dd51593 100644 --- a/.config/xmonad/xmonad.hs +++ b/.config/xmonad/xmonad.hs @@ -21,7 +21,7 @@ import Data.Maybe (fromJust) import XMonad.Hooks.ManageDocks import XMonad.Hooks.ManageHelpers import Data.Monoid -import Colors.DoomOne +import Colors.Teal import System.Exit import XMonad.Util.SpawnOnce import XMonad.Layout.Spacing @@ -30,7 +30,7 @@ import qualified XMonad.StackSet as W import qualified Data.Map as M -- Personal Variables myTerminal = "alacritty" -myTextEditor = "leafpad" +myTextEditor = "vim" myWebBrowser = "firefox" @@ -68,9 +68,8 @@ clickable ws = ""++ws++"" -- Border colors for unfocused and focused windows, respectively. -- -myNormalBorderColor = "#282c34" -myFocusedBorderColor = "#46d9ff" - +myNormalBorderColor = "#008080" +myFocusedBorderColor = "#01F9C6" ------------------------------------------------------------------------ -- Key bindings. Add, modify or remove key bindings here. -- @@ -98,7 +97,7 @@ myKeys = ,("", spawn "lux -s 10%") --CHANGE KEYBOARD LAYOUT - ,("M-", spawn "/bin/zsh /home/afonso/.config/xmonad/change-kb.sh") + ,("M-", spawn "/bin/bash /home/afonso/.config/xmonad/change-kb.sh") --brightness controls ,("M-n", spawn "kitty -e nmtui") @@ -298,19 +297,19 @@ main = do logHook = dynamicLogWithPP $ xmobarPP { ppOutput = \x -> hPutStrLn xmproc x -- xmobar on monitor 1 -- Current workspace - , ppCurrent = xmobarColor color06 "" . wrap - ("") "" + , ppCurrent = xmobarColor color02 "" . wrap + ("") "" -- Visible but not current workspace - , ppVisible = xmobarColor color06 "" . clickable + , ppVisible = xmobarColor color05 "" . clickable -- Hidden workspace - , ppHidden = xmobarColor color05 "" . wrap - ("") "" . clickable + , ppHidden = xmobarColor color01 "" . wrap + ("") "" . clickable -- Hidden workspaces (no windows) - , ppHiddenNoWindows = xmobarColor color05 "" . clickable + , ppHiddenNoWindows = xmobarColor color01 "" . clickable -- Title of active window - , ppTitle = xmobarColor color16 "" . shorten 60 + , ppTitle = xmobarColor color04 "" . shorten 60 -- Separator character - , ppSep = " | " + , ppSep = " | " -- Urgent workspace , ppUrgent = xmobarColor color02 "" . wrap "!" "!" -- Adding # of windows on current workspace to the bar