config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 4ffca8b76ce936a392e53f1e6c613c07b54acd4a
parent 5742a0556ca7ca3db534fb9181d832e8fc4d0aab
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date:   Sun,  8 Dec 2019 22:50:12 -0800

dotfiles

Diffstat:
Malias/.shell-alias | 3++-
Mkitty/.config/kitty/kitty.conf | 3+--
Mvim/.vimrc | 20+++++++++++++++-----
Mxinitrc-laptop/.xinitrc | 4++--
Axmobar/.xmobar/scripts/XMBpacman-update | 23+++++++++++++++++++++++
5 files changed, 43 insertions(+), 10 deletions(-)

diff --git a/alias/.shell-alias b/alias/.shell-alias @@ -7,7 +7,7 @@ alias hibernate='systemctl hibernate' alias restart='sudo systemctl restart' # auto sudo -alias pacman='pac-improved' +alias pacman='pacman-colors' #alias pacman='pacman-nonet' alias pkg='sudo pkg' @@ -44,3 +44,4 @@ alias meta-img='exiv2' alias meta='exiftool' alias tetris='ssh netris.rocketnine.space' +function gamma() { xrandr --output "$(xrandr --listactivemonitors | tail -n 1 | cut -d '*' -f 2 | awk '{print $1}')" --gamma $1 } diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf @@ -434,7 +434,7 @@ tab_fade 0.25 0.5 0.75 1 #: can change the number of cells used by adding/removing entries to #: this list. -tab_separator " ┇" +tab_separator " ┇" #: The separator between tabs in the tab bar when using separator as #: the tab_bar_style. @@ -762,7 +762,6 @@ linux_display_server auto #: layout #: You can use multi-key shortcuts using the syntax shown below:: - #: map key1>key2>key3 action #: For example:: diff --git a/vim/.vimrc b/vim/.vimrc @@ -26,22 +26,32 @@ filetype plugin indent on " required unlet! skip_defaults_vim source $VIMRUNTIME/defaults.vim +" Files +set path+=** + +" Navigation set relativenumber set number +set hlsearch +set incsearch +set ignorecase +" System set clipboard=unnamedplus set mouse="" +" Visual +"set colorcolumn=81 set tabstop=2 set shiftwidth=2 -set hlsearch -set incsearch -set ignorecase set nowrap + +" Keybindings :map <f9> zm :map <f10> zn :map <f11> za -let &t_ut='' -colorscheme edge +"let &t_ut='' +"colorscheme edge +colorscheme default diff --git a/xinitrc-laptop/.xinitrc b/xinitrc-laptop/.xinitrc @@ -34,8 +34,8 @@ fi PATH="/home/jacob/.xmobar/scripts/:$PATH" export PATH #}}} -$HOME/bin/color-sync -xsetroot -xcf ~/.icons/Quintom/cursors/left_ptr 14 & # cursor +$HOME/bin/color-sync #14 +xsetroot -xcf ~/.icons/Quintom/cursors/left_ptr 1 & # cursor xwallpaper --zoom $HOME/media/wallpaper/wallpaper.* # wallpaper xcompmgr & # compositing diff --git a/xmobar/.xmobar/scripts/XMBpacman-update b/xmobar/.xmobar/scripts/XMBpacman-update @@ -0,0 +1,23 @@ +#!/bin/sh +MB=$(calc $(date +'%s') - $(cat ~/.dates/system-update) / 60 | cut -d '.' -f 1) + +if [[ "$MB" -gt "59" ]]; then + HB=$(expr "$MB" / 60) + MB=$(expr "$MB" % 60) + +if [[ "$MB" -lt "10" ]]; then + MB=0$MB + fi + + printf "$HB":"$MB" + +else +if [[ "$MB" -lt "10" ]]; then + MB=0$MB + fi + +printf 0:$MB +fi + + +