aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-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'