aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-26 15:00:12 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-26 15:00:12 +0530
commit69e6b87329971e905cddfc32cedd7163b503c1f0 (patch)
treee76a9d2d13334b92f43150d41279a0d0cf4d9815
parent97e1372543cbb9475686c2ccfee576d9398d0986 (diff)
Turned on smartBorders in XMonad
-rw-r--r--.config/XMonad/xmonad.hs10
-rw-r--r--.config/nvim/init.vim2
-rw-r--r--.config/zsh/.zshenv1
-rw-r--r--.config/zsh/.zshrc1
4 files changed, 4 insertions, 10 deletions
diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs
index 2272822..f8d0026 100644
--- a/.config/XMonad/xmonad.hs
+++ b/.config/XMonad/xmonad.hs
@@ -224,13 +224,6 @@ wGap = 10 -- window gap
myGap = spacingRaw True (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True
myGap' = spacingRaw False (Border sGap sGap sGap sGap) True (Border wGap wGap wGap wGap) True
-myLayoutHook = avoidStruts $ maximize $ windowNavigation $ (
- myGap' emptyBSP
- ||| smartBorders (tabbed shrinkText myTabTheme)
- ||| smartBorders (myGap emptyBSP)
- ||| smartBorders (myGap Grid)
- )
-
main :: IO ()
main = do
xmonad $ ewmh $ docks $ fullscreenSupport def {
@@ -240,7 +233,8 @@ main = do
, workspaces = myWorkspaces
, normalBorderColor = "#130F23"
, focusedBorderColor = "#BF00FF"
- , layoutHook = myLayoutHook
+ , layoutHook = avoidStruts $ maximize $ windowNavigation $ smartBorders $ myGap $ (
+ emptyBSP ||| tabbed shrinkText myTabTheme ||| emptyBSP ||| Grid)
, manageHook = namedScratchpadManageHook myScratchpads <+> manageDocks
, startupHook = myStartupHook
} `additionalMouseBindings` [
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 641c951..9ef7c08 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -18,7 +18,7 @@ Plug 'maxmellon/vim-jsx-pretty'
Plug 'yuezk/vim-js'
" Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
-" Plug 'leafgarland/typescript-vim'
+Plug 'leafgarland/typescript-vim'
" Plug 'vim-airline/vim-airline'
" Plug 'dracula/vim', { 'as': 'dracula' }
" Plug 'sts10/vim-pink-moon'
diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv
index 079ca60..cbef2b2 100644
--- a/.config/zsh/.zshenv
+++ b/.config/zsh/.zshenv
@@ -18,3 +18,4 @@ export GOPATH="/home/zt/.gopath"
export QT_QPA_PLATFORMTHEME=gtk2
export ZDOTDIR="$HOME/.config/zsh"
+. "$HOME/.cargo/env"
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index 5784239..a83ec00 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -38,7 +38,6 @@ alias lsa='exa -al'
alias nf='neofetch'
alias adbc='adb connect 10.0.0.51:5555'
alias x='chmod +x'
-alias cat='bat'
alias rf='rm -rf'
# git
alias gs='git status'