From cb4c106a752e0e99831743f18da30573d2b43f7d Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 7 Apr 2022 18:39:31 +0300 Subject: [PATCH] refac(prog/xmonad): change border size and color --- programs/xmonad/xmonad.hs | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/programs/xmonad/xmonad.hs b/programs/xmonad/xmonad.hs index 6f51dc6..02c83ed 100644 --- a/programs/xmonad/xmonad.hs +++ b/programs/xmonad/xmonad.hs @@ -7,18 +7,18 @@ -- Normally, you'd only override those defaults you care about. -- -import XMonad -import XMonad.Hooks.EwmhDesktops -import XMonad.Hooks.ManageDocks -import XMonad.Hooks.DynamicLog -import XMonad.Hooks.StatusBar -import XMonad.Hooks.StatusBar.PP -import XMonad.Util.Run -import Data.Monoid -import System.Exit +import Data.Monoid +import System.Exit +import XMonad +import XMonad.Hooks.DynamicLog +import XMonad.Hooks.EwmhDesktops +import XMonad.Hooks.ManageDocks +import XMonad.Hooks.StatusBar +import XMonad.Hooks.StatusBar.PP +import XMonad.Util.Run -import qualified XMonad.StackSet as W -import qualified Data.Map as M +import qualified Data.Map as M +import qualified XMonad.StackSet as W -- The preferred terminal program, which is used in a binding below and by -- certain contrib modules. @@ -35,7 +35,7 @@ myClickJustFocuses = False -- Width of the window border in pixels. -- -myBorderWidth = 1 +myBorderWidth = 3 -- modMask lets you specify which modkey you want to use. The default -- is mod1Mask ("left alt"). You may also consider using mod3Mask @@ -57,8 +57,8 @@ myWorkspaces = map show [1..9] -- Border colors for unfocused and focused windows, respectively. -- -myNormalBorderColor = "#dddddd" -myFocusedBorderColor = "#ff0000" +myNormalBorderColor = "#444" +myFocusedBorderColor = "#f00" ------------------------------------------------------------------------ -- Key bindings. Add, modify or remove key bindings here. @@ -332,4 +332,3 @@ help = unlines ["The default modifier key is 'alt'. Default keybindings:", "mod-button1 Set the window to floating mode and move by dragging", "mod-button2 Raise the window to the top of the stack", "mod-button3 Set the window to floating mode and resize by dragging"] -