Minor edits.
This commit is contained in:
parent
b2cf9b753d
commit
df58aa9d2b
7
.bashrc
7
.bashrc
|
@ -7,8 +7,8 @@
|
||||||
# My bash config. Not much to see here. Some pretty standard stuff.
|
# My bash config. Not much to see here. Some pretty standard stuff.
|
||||||
|
|
||||||
PATH="$HOME/.local/bin${PATH:+:${PATH}}"
|
PATH="$HOME/.local/bin${PATH:+:${PATH}}"
|
||||||
EDITOR="emacsclient -c"
|
EDITOR="vim"
|
||||||
export TERM="xterm-256color"
|
export TERM="st"
|
||||||
|
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
@ -141,6 +141,9 @@ ex ()
|
||||||
|
|
||||||
### ALIASES ###
|
### ALIASES ###
|
||||||
|
|
||||||
|
# root privileges
|
||||||
|
alias doas="doas --"
|
||||||
|
|
||||||
# navigation
|
# navigation
|
||||||
alias ..='cd ..' \
|
alias ..='cd ..' \
|
||||||
...='cd ../..'
|
...='cd ../..'
|
||||||
|
|
|
@ -34,7 +34,7 @@ from typing import List # noqa: F401
|
||||||
|
|
||||||
##### DEFINING SOME VARIABLES #####
|
##### DEFINING SOME VARIABLES #####
|
||||||
mod = "mod4" # Sets mod key to SUPER/WINDOWS
|
mod = "mod4" # Sets mod key to SUPER/WINDOWS
|
||||||
myTerm = "alacritty" # My terminal of choice
|
myTerm = "st" # My terminal of choice
|
||||||
myConfig = "/home/dt/.config/qtile/config.py" # The Qtile config file location
|
myConfig = "/home/dt/.config/qtile/config.py" # The Qtile config file location
|
||||||
|
|
||||||
##### KEYBINDINGS #####
|
##### KEYBINDINGS #####
|
||||||
|
@ -46,7 +46,7 @@ keys = [
|
||||||
),
|
),
|
||||||
Key(
|
Key(
|
||||||
[mod, "shift"], "Return", # Dmenu Run Launcher
|
[mod, "shift"], "Return", # Dmenu Run Launcher
|
||||||
lazy.spawn("dmenu_run -fn 'UbuntuMono Nerd Font:size=10' -nb '#282a36' -nf '#ffffff' -sb '#bd93f9' -sf '#282a36' -p 'dmenu:'")
|
lazy.spawn("dmenu_run -p 'Run: '")
|
||||||
),
|
),
|
||||||
Key(
|
Key(
|
||||||
[mod], "Tab",
|
[mod], "Tab",
|
||||||
|
|
|
@ -120,4 +120,4 @@ case "$choice" in
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
emacsclient -c "$choice"
|
st -e vim "$choice"
|
||||||
|
|
|
@ -82,7 +82,7 @@ dd a{
|
||||||
}
|
}
|
||||||
#toc, .toc, .mw-warning, .toccolours {
|
#toc, .toc, .mw-warning, .toccolours {
|
||||||
background-color: #000000 !important;
|
background-color: #000000 !important;
|
||||||
border: 1px solid #d7dfe3 !important;
|
border: 1px solid #666666 !important;
|
||||||
color: #d0d0d0 !important;
|
color: #d0d0d0 !important;
|
||||||
}
|
}
|
||||||
.tocnumber, .toctogglelabel {
|
.tocnumber, .toctogglelabel {
|
||||||
|
@ -96,7 +96,7 @@ div#mw-head {
|
||||||
}
|
}
|
||||||
div.vectorTabs li.selected {
|
div.vectorTabs li.selected {
|
||||||
border: 1px solid #666666 !important;
|
border: 1px solid #666666 !important;
|
||||||
border-bottom-color: #000000 !important;
|
border-bottom-color: #666666 !important;
|
||||||
background-color: #000000 !important;
|
background-color: #000000 !important;
|
||||||
padding-bottom: 20px !important;
|
padding-bottom: 20px !important;
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,10 @@ div.vectorTabs li.selected {
|
||||||
border: 1px solid #666666 !important;
|
border: 1px solid #666666 !important;
|
||||||
background-color: #000000 !important;
|
background-color: #000000 !important;
|
||||||
}
|
}
|
||||||
|
.mw-body, .parsoid-body {
|
||||||
|
color: #d0d0d0 !important;
|
||||||
|
font-size: 1.2em !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* AUR */
|
/* AUR */
|
||||||
|
@ -153,3 +156,31 @@ tr.roweven {
|
||||||
.pun .blocktable td {
|
.pun .blocktable td {
|
||||||
border-color: #444444 !important;
|
border-color: #444444 !important;
|
||||||
}
|
}
|
||||||
|
.pun .blockpost {
|
||||||
|
background: #282a36 !important;
|
||||||
|
border-color: #444444 !important;
|
||||||
|
}
|
||||||
|
.pun .blockpost h2 {
|
||||||
|
background: #000000 !important;
|
||||||
|
border: none !important;
|
||||||
|
color: #82aaff !important;
|
||||||
|
}
|
||||||
|
.pun .blockpost .postbody, .pun .blockpost .postfoot {
|
||||||
|
background: #282a36 !important;
|
||||||
|
border-color: #444444 !important;
|
||||||
|
}
|
||||||
|
#punviewtopic .blockpost dt, #punmoderate .blockpost dt {
|
||||||
|
top: -1.8em !important;
|
||||||
|
color: #ff8b92 !important;
|
||||||
|
}
|
||||||
|
.pun .postmsg, #punhelp code, #punhelp samp {
|
||||||
|
color: #d0d0d0 !important;
|
||||||
|
}
|
||||||
|
.pun .codebox {
|
||||||
|
border-color: #444444 !important;
|
||||||
|
background: #9cc4ff !important;
|
||||||
|
color: #000000 !important;
|
||||||
|
}
|
||||||
|
.pun .codebox pre {
|
||||||
|
border: none !important;
|
||||||
|
}
|
||||||
|
|
33
.vimrc
33
.vimrc
|
@ -12,8 +12,7 @@ set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
call vundle#begin() " required, all plugins must appear after this line.
|
call vundle#begin() " required, all plugins must appear after this line.
|
||||||
|
|
||||||
Plugin 'gmarik/Vundle.vim' " Vundle
|
Plugin 'gmarik/Vundle.vim' " Vundle
|
||||||
Plugin 'vim-airline/vim-airline' " Airline
|
Plugin 'itchyny/lightline.vim' " Lightline statusbar
|
||||||
Plugin 'vim-airline/vim-airline-themes' " Airline Themes
|
|
||||||
Plugin 'scrooloose/nerdtree' " added nerdtree
|
Plugin 'scrooloose/nerdtree' " added nerdtree
|
||||||
Plugin 'tiagofumo/vim-nerdtree-syntax-highlight'
|
Plugin 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||||
Plugin 'ryanoasis/vim-devicons'
|
Plugin 'ryanoasis/vim-devicons'
|
||||||
|
@ -46,39 +45,22 @@ filetype plugin indent on " required
|
||||||
"Remap ESC to ii
|
"Remap ESC to ii
|
||||||
:imap ii <Esc>
|
:imap ii <Esc>
|
||||||
|
|
||||||
"Disable arrow keys in Normal mode
|
|
||||||
no <Up> <Nop>
|
|
||||||
no <Down> <Nop>
|
|
||||||
no <Left> <Nop>
|
|
||||||
no <Right> <Nop>
|
|
||||||
|
|
||||||
"Disable arrow keys in Insert mode
|
|
||||||
ino <Up> <Nop>
|
|
||||||
ino <Down> <Nop>
|
|
||||||
ino <Left> <Nop>
|
|
||||||
ino <Right> <Nop>
|
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" => Powerline
|
" => Powerline
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" Powerline
|
let g:lightline = {
|
||||||
set rtp+=/usr/share/powerline/bindings/vim/
|
\ 'colorscheme': 'darcula',
|
||||||
|
\ }
|
||||||
|
|
||||||
" Always show statusline
|
" Always show statusline
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
||||||
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
|
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
|
||||||
" set t_Co=256
|
set t_Co=256
|
||||||
|
|
||||||
syntax enable
|
syntax enable
|
||||||
set relativenumber
|
set relativenumber
|
||||||
let g:rehash256 = 1
|
let g:rehash256 = 1
|
||||||
let g:Powerline_symbols='unicode'
|
|
||||||
let g:Powerline_theme='long'
|
|
||||||
|
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
|
||||||
let g:airline_powerline_fonts = 1
|
|
||||||
let g:airline_theme='angr'
|
|
||||||
|
|
||||||
" Uncomment to prevent non-normal modes showing in powerline and below powerline.
|
" Uncomment to prevent non-normal modes showing in powerline and below powerline.
|
||||||
set noshowmode
|
set noshowmode
|
||||||
|
@ -148,4 +130,7 @@ set guioptions-=L "remove left-hand scroll bar
|
||||||
set ttymouse=sgr
|
set ttymouse=sgr
|
||||||
|
|
||||||
|
|
||||||
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
" => Removes pipes | that act as seperators on splits
|
||||||
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
:set fillchars+=vert:\
|
||||||
|
|
|
@ -83,7 +83,6 @@ main = do
|
||||||
xmproc1 <- spawnPipe "xmobar -x 1 /home/dt/.config/xmobar/xmobarrc2"
|
xmproc1 <- spawnPipe "xmobar -x 1 /home/dt/.config/xmobar/xmobarrc2"
|
||||||
xmproc2 <- spawnPipe "xmobar -x 2 /home/dt/.config/xmobar/xmobarrc1"
|
xmproc2 <- spawnPipe "xmobar -x 2 /home/dt/.config/xmobar/xmobarrc1"
|
||||||
-- the xmonad, ya know...what the WM is named after!
|
-- the xmonad, ya know...what the WM is named after!
|
||||||
|
|
||||||
xmonad $ ewmh desktopConfig
|
xmonad $ ewmh desktopConfig
|
||||||
{ manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageHook desktopConfig <+> manageDocks
|
{ manageHook = ( isFullscreen --> doFullFloat ) <+> myManageHook <+> manageHook desktopConfig <+> manageDocks
|
||||||
, logHook = dynamicLogWithPP xmobarPP
|
, logHook = dynamicLogWithPP xmobarPP
|
||||||
|
|
Loading…
Reference in New Issue