diff --git a/.bashrc b/.bashrc index bf1b877..9d12871 100644 --- a/.bashrc +++ b/.bashrc @@ -110,6 +110,7 @@ alias ytmpvhd='mpv --hwdec=auto --ytdl-format="bestvideo[height<=?1080]+bestaudi alias gitlog='git log --graph --all --oneline' alias cdev='cd /mnt/files/dev' +alias rdoc='cargo doc --open' alias dis='intel-virtual-output -f' diff --git a/polybar/config b/polybar/config index e8784bc..efe789f 100644 --- a/polybar/config +++ b/polybar/config @@ -8,7 +8,7 @@ background = rgba(0,0,0,0) #accent = #e60053 #background = ${xrdb:color0:#222} -foreground = ${xrdb:color7:#222} +foreground = #ffffff foreground-alt = ${xrdb:color7:#222} primary = ${xrdb:color1:#222} secondary = ${xrdb:color2:#222} @@ -32,14 +32,14 @@ screenchange-reload = true [bar/top] monitor = ${env:MONITOR:} -height = 15 +height = 50 radius = 0.0 fixed-center = false ;override-redirect = true -padding = 2 -module-margin = 2 -line-size = 2 +padding = 1 +module-margin = 0 +line-size = 0 background = ${colors.background} foreground = ${colors.foreground} @@ -60,10 +60,10 @@ border-color = ${colors.background} ;module-margin-right = 2 ;font-0 = dina:pixelsize=10;1 -font-0 = "Roboto:pixelsize=11;2" +font-0 = "Inconsolata:pixelsize=26:weight=bold;5" font-1 = siji:pixelsize=10;1 font-2 = unifont:size=6;1 -font-3 = "Material Icons:size=12;3" +font-3 = "Material Icons:size=30;10" modules-left = i3 mpd ;modules-center = mpd @@ -71,10 +71,11 @@ modules-left = i3 mpd modules-right = wifi vpn internalip public-ip battery time date tray-position = right -tray-padding = 4 -;tray-maxsize = 16 +tray-padding = 2 +tray-maxsize = 40 tray-background = ${root.background} tray-detached = false +;tray-scale = 2.0 ;tray-offset-x = 50 wm-restack = i3 @@ -198,7 +199,7 @@ label-packetloss-foreground = #eefafafa [module/wifi] type = internal/network -interface = wlp3s0 +interface = wlp1s0 interval = 5 ;udspeed-minwidth = 0 diff --git a/polybar/launch.sh b/polybar/launch.sh index b0ee229..d1a3c94 100755 --- a/polybar/launch.sh +++ b/polybar/launch.sh @@ -15,7 +15,7 @@ if [[ "$(hostname)" == "andy-pc" ]]; then done else for m in $(polybar --list-monitors | cut -d":" -f1); do - MONITOR=$m IFACE="wlp3s0" polybar --reload top & + MONITOR=$m IFACE="wlp1s0" polybar --reload top & done fi diff --git a/rofi/config b/rofi/config index a88a899..36eb86b 100644 --- a/rofi/config +++ b/rofi/config @@ -4,3 +4,4 @@ rofi.combi-modi: drun,run rofi.location: 2 rofi.sidebar-mode: true rofi.theme: ~/dotfiles/rofi/colors-rofi-dark.rasi +rofi.font: cantarell 35 diff --git a/rofi/sidetab.rasi b/rofi/sidetab.rasi index 4a1b7fc..e523221 100644 --- a/rofi/sidetab.rasi +++ b/rofi/sidetab.rasi @@ -48,7 +48,7 @@ configuration { window { location: west; anchor: west; - height: 100%; + height: 50%; width: 30%; orientation: horizontal; children: [mainbox]; diff --git a/vim/.vimrc b/vim/.vimrc index 036eac7..ac7e695 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,5 +1,13 @@ set nocompatible " be iMproved, required -filetype off " required +" filetype off " required + +filetype plugin indent on +" show existing tab with 4 spaces width +set tabstop=4 +" when indenting with '>', use 4 spaces width +set shiftwidth=4 +" On pressing tab, insert 4 spaces +set expandtab so ~/.vim/plugins.vim @@ -8,10 +16,41 @@ set laststatus=2 set noshowmode set showmatch +set ignorecase +set smartcase + +" Allow backspacing over autoindent, line breaks and start of insert action +set backspace=indent,eol,start + +" When opening a new line and no filetype-specific indenting is enabled, keep +" the same indent as the line you're currently on. Useful for READMEs, etc. +set autoindent + +" Stop certain movements from always going to the first character of a line. +" While this behaviour deviates from that of Vi, it does what most users +" coming from other editors would expect. +set nostartofline + +" Display the cursor position on the last line of the screen or in the status +" line of a window +set ruler + +" Enable use of the mouse for all modes +set mouse=a + let g:lightline = { \ 'colorscheme': 'srcery_drk', \ } +inoremap " "" +inoremap ' '' +inoremap ( () +inoremap [ [] +inoremap < <> +inoremap { {} +inoremap { {}O +inoremap {; {};O + set number syntax on