summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-04-08 22:56:49 +0300
committerYigit Sever2019-04-08 22:56:49 +0300
commit347be3ed53e3a170279a52cff13ec84f9a9165b1 (patch)
tree63678ff6bc4c9c3042574c7a44a6441732efda42
parentad88337536c671016a9055dd28ff735b9c897501 (diff)
parente2843e04c956db1eddc65bd9cd264b0c887230be (diff)
downloaddotfiles-347be3ed53e3a170279a52cff13ec84f9a9165b1.tar.gz
dotfiles-347be3ed53e3a170279a52cff13ec84f9a9165b1.tar.bz2
dotfiles-347be3ed53e3a170279a52cff13ec84f9a9165b1.zip
Merge branch 'master' of 207.154.210.186:/home/yigit/dots
-rwxr-xr-x.config/nvim/init.vim22
-rw-r--r--.config/polybar/config##desktop.Linux.Lowe2
-rwxr-xr-x.config/polybar/focus11
-rw-r--r--.config/rofi/onedark.rasi2
-rw-r--r--.cvsignore1
-rw-r--r--.gitconfig1
-rw-r--r--.taskrc6
7 files changed, 18 insertions, 27 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 2bb1324..5d415ce 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -1,5 +1,4 @@
1"{{{ Plugs 1"{{{ Plugs
2
3call plug#begin('~/.local/share/nvim/plugged') 2call plug#begin('~/.local/share/nvim/plugged')
4 3
5"A code-completion engine for Vim 4"A code-completion engine for Vim
@@ -104,18 +103,10 @@ autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isT
104"{{{Misc Settings 103"{{{Misc Settings
105 104
106let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' 105let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py'
107" necesary for lots of cool vim things 106
108set nocompatible
109" See below
110" https://stackoverflow.com/a/33380495
111if !exists("g:syntax_on")
112 syntax enable
113endif
114set grepprg=grep\ -nH\ $* " DONT KNOW WHAT THIS DOES
115" Tab stuff 107" Tab stuff
116set autoindent 108set autoindent
117set expandtab " Use appropriate number of spaces to insert a <Tab> 109set expandtab " Use appropriate number of spaces to insert a <Tab>
118set smarttab
119set shiftwidth=4 110set shiftwidth=4
120set softtabstop=4 111set softtabstop=4
121set tabstop=8 112set tabstop=8
@@ -123,19 +114,12 @@ set tabstop=8
123set spell spelllang=en_us 114set spell spelllang=en_us
124set nospell 115set nospell
125" Cool tab completion stuff 116" Cool tab completion stuff
126set wildmenu
127set wildmode=list:longest,full 117set wildmode=list:longest,full
128set wildignore=*.o,*.obj,*.class 118set wildignore=*.o,*.obj,*.class
129set encoding=utf-8
130set scrolloff=4 " Keep n lines above/below cursor 119set scrolloff=4 " Keep n lines above/below cursor
131set mouse=c 120set mouse=c
132set backspace=2 " make backspace work like most other programs
133set number " line numbers 121set number " line numbers
134set history=1000 " number of lines that are remembered
135set showcmd " this shows what you are typing as a command. I love this!
136set foldmethod=marker " folding stuffs 122set foldmethod=marker " folding stuffs
137set incsearch " search as you type (before <CR>)
138set hlsearch " highlight things that we find with the search
139set nohidden " when i close a tab, remove the buffer 123set nohidden " when i close a tab, remove the buffer
140set title " set terminal title 124set title " set terminal title
141set showmatch " jump to the matching bracket briefly, REMOVE AFTER TESTING 125set showmatch " jump to the matching bracket briefly, REMOVE AFTER TESTING
@@ -157,9 +141,6 @@ set cinoptions=l1
157"{{{Look and Feel 141"{{{Look and Feel
158 142
159set termguicolors 143set termguicolors
160
161set background=dark " Setting dark mode
162
163"highlight NormalNC guibg='Black' 144"highlight NormalNC guibg='Black'
164 145
165let g:nord_underline = 1 146let g:nord_underline = 1
@@ -407,5 +388,6 @@ nnoremap X D
407 388
408" {{{ vimtex 389" {{{ vimtex
409let g:vimtex_view_method = 'zathura' 390let g:vimtex_view_method = 'zathura'
391let g:vimtex_syntax_enabled = 0
410 392
411" }}} 393" }}}
diff --git a/.config/polybar/config##desktop.Linux.Lowe b/.config/polybar/config##desktop.Linux.Lowe
index 7e96a22..5b0c3c0 100644
--- a/.config/polybar/config##desktop.Linux.Lowe
+++ b/.config/polybar/config##desktop.Linux.Lowe
@@ -69,7 +69,7 @@ host = 127.0.0.1
69port = 6600 69port = 6600
70 70
71format-online = <toggle> <label-song> <icon-random> 71format-online = <toggle> <label-song> <icon-random>
72label-song = %artist% - %title% 72label-song = %artist:0:24:...% - %title:0:24:...%
73icon-pause =  73icon-pause = 
74icon-play =  74icon-play = 
75icon-random = 咽 75icon-random = 咽
diff --git a/.config/polybar/focus b/.config/polybar/focus
index 0cccea4..8eeb92a 100755
--- a/.config/polybar/focus
+++ b/.config/polybar/focus
@@ -19,9 +19,9 @@ use strict;
19use warnings; 19use warnings;
20use IO::CaptureOutput qw/capture_exec/; 20use IO::CaptureOutput qw/capture_exec/;
21 21
22my ($stdout, $stderr, $success, $exit_code) = capture_exec("task active"); 22my ($stdout, $stderr, $success, $exit_code) = capture_exec("task custom_focus");
23 23
24#print("out: $stdout\nerr: $stderr\nexit_code: $exit_code\n"); 24# print("out: $stdout\nerr: $stderr\nexit_code: $exit_code\n");
25 25
26if ($stderr =~ /No matches\./) { 26if ($stderr =~ /No matches\./) {
27 system 'echo "What a beautiful day"'; 27 system 'echo "What a beautiful day"';
@@ -37,6 +37,7 @@ my $task = $lines[2];
37$task =~ s/^\s+|\s+$//g; 37$task =~ s/^\s+|\s+$//g;
38$task =~ s/\s+/ /g; 38$task =~ s/\s+/ /g;
39 39
40if ($task =~ m/.*?next (.*)$/) { 40# if ($task =~ m/.*?next (.*)$/) {
41 print "$1"; 41# print "$1";
42} 42# }
43print $task;
diff --git a/.config/rofi/onedark.rasi b/.config/rofi/onedark.rasi
index 2902fcb..9680d32 100644
--- a/.config/rofi/onedark.rasi
+++ b/.config/rofi/onedark.rasi
@@ -9,7 +9,7 @@
9 */ 9 */
10 10
11configuration { 11configuration {
12 display-drun: "act"; 12 display-drun: "drun";
13 display-run: "run"; 13 display-run: "run";
14 display-window: "win"; 14 display-window: "win";
15 show-icons: true; 15 show-icons: true;
diff --git a/.cvsignore b/.cvsignore
new file mode 100644
index 0000000..6e92f57
--- /dev/null
+++ b/.cvsignore
@@ -0,0 +1 @@
tags
diff --git a/.gitconfig b/.gitconfig
index ae74399..16c1e83 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -6,6 +6,7 @@
6 autocrlf = input 6 autocrlf = input
7 safecrlf = true 7 safecrlf = true
8 pager = diff-so-fancy | less --tabs=4 -RFX 8 pager = diff-so-fancy | less --tabs=4 -RFX
9 excludesfile = ~/.cvsignore
9[alias] 10[alias]
10 co = checkout 11 co = checkout
11 ci = commit 12 ci = commit
diff --git a/.taskrc b/.taskrc
index c7a4112..f86bb63 100644
--- a/.taskrc
+++ b/.taskrc
@@ -58,6 +58,12 @@ report.todoConky.sort = due+
58report.todoConky.filter = status:pending and due.after:now and due.before:later 58report.todoConky.filter = status:pending and due.after:now and due.before:later
59report.todoConky.dateformat = D-M-y H:N (A) 59report.todoConky.dateformat = D-M-y H:N (A)
60 60
61### report for focus script
62report.custom_focus.columns = description
63report.custom_focus.labels = Description
64report.custom_focus.description = Task to feed to focus script
65report.custom_focus.filter = status:pending and +ACTIVE
66
61### contexts 67### contexts
62context.home = +@home or +@online 68context.home = +@home or +@online
63context.work = +@work or +@online 69context.work = +@work or +@online