diff options
-rwxr-xr-x | .config/nvim/init.vim | 22 | ||||
-rw-r--r-- | .config/polybar/config##desktop.Linux.Lowe | 2 | ||||
-rwxr-xr-x | .config/polybar/focus | 11 | ||||
-rw-r--r-- | .config/rofi/onedark.rasi | 2 | ||||
-rw-r--r-- | .cvsignore | 1 | ||||
-rw-r--r-- | .gitconfig | 1 | ||||
-rw-r--r-- | .taskrc | 6 |
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 | |||
3 | call plug#begin('~/.local/share/nvim/plugged') | 2 | call 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 | ||
106 | let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' | 105 | let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' |
107 | " necesary for lots of cool vim things | 106 | |
108 | set nocompatible | ||
109 | " See below | ||
110 | " https://stackoverflow.com/a/33380495 | ||
111 | if !exists("g:syntax_on") | ||
112 | syntax enable | ||
113 | endif | ||
114 | set grepprg=grep\ -nH\ $* " DONT KNOW WHAT THIS DOES | ||
115 | " Tab stuff | 107 | " Tab stuff |
116 | set autoindent | 108 | set autoindent |
117 | set expandtab " Use appropriate number of spaces to insert a <Tab> | 109 | set expandtab " Use appropriate number of spaces to insert a <Tab> |
118 | set smarttab | ||
119 | set shiftwidth=4 | 110 | set shiftwidth=4 |
120 | set softtabstop=4 | 111 | set softtabstop=4 |
121 | set tabstop=8 | 112 | set tabstop=8 |
@@ -123,19 +114,12 @@ set tabstop=8 | |||
123 | set spell spelllang=en_us | 114 | set spell spelllang=en_us |
124 | set nospell | 115 | set nospell |
125 | " Cool tab completion stuff | 116 | " Cool tab completion stuff |
126 | set wildmenu | ||
127 | set wildmode=list:longest,full | 117 | set wildmode=list:longest,full |
128 | set wildignore=*.o,*.obj,*.class | 118 | set wildignore=*.o,*.obj,*.class |
129 | set encoding=utf-8 | ||
130 | set scrolloff=4 " Keep n lines above/below cursor | 119 | set scrolloff=4 " Keep n lines above/below cursor |
131 | set mouse=c | 120 | set mouse=c |
132 | set backspace=2 " make backspace work like most other programs | ||
133 | set number " line numbers | 121 | set number " line numbers |
134 | set history=1000 " number of lines that are remembered | ||
135 | set showcmd " this shows what you are typing as a command. I love this! | ||
136 | set foldmethod=marker " folding stuffs | 122 | set foldmethod=marker " folding stuffs |
137 | set incsearch " search as you type (before <CR>) | ||
138 | set hlsearch " highlight things that we find with the search | ||
139 | set nohidden " when i close a tab, remove the buffer | 123 | set nohidden " when i close a tab, remove the buffer |
140 | set title " set terminal title | 124 | set title " set terminal title |
141 | set showmatch " jump to the matching bracket briefly, REMOVE AFTER TESTING | 125 | set 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 | ||
159 | set termguicolors | 143 | set termguicolors |
160 | |||
161 | set background=dark " Setting dark mode | ||
162 | |||
163 | "highlight NormalNC guibg='Black' | 144 | "highlight NormalNC guibg='Black' |
164 | 145 | ||
165 | let g:nord_underline = 1 | 146 | let g:nord_underline = 1 |
@@ -407,5 +388,6 @@ nnoremap X D | |||
407 | 388 | ||
408 | " {{{ vimtex | 389 | " {{{ vimtex |
409 | let g:vimtex_view_method = 'zathura' | 390 | let g:vimtex_view_method = 'zathura' |
391 | let 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 | |||
69 | port = 6600 | 69 | port = 6600 |
70 | 70 | ||
71 | format-online = <toggle> <label-song> <icon-random> | 71 | format-online = <toggle> <label-song> <icon-random> |
72 | label-song = %artist% - %title% | 72 | label-song = %artist:0:24:...% - %title:0:24:...% |
73 | icon-pause = | 73 | icon-pause = |
74 | icon-play = | 74 | icon-play = |
75 | icon-random = 咽 | 75 | icon-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; | |||
19 | use warnings; | 19 | use warnings; |
20 | use IO::CaptureOutput qw/capture_exec/; | 20 | use IO::CaptureOutput qw/capture_exec/; |
21 | 21 | ||
22 | my ($stdout, $stderr, $success, $exit_code) = capture_exec("task active"); | 22 | my ($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 | ||
26 | if ($stderr =~ /No matches\./) { | 26 | if ($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 | ||
40 | if ($task =~ m/.*?next (.*)$/) { | 40 | # if ($task =~ m/.*?next (.*)$/) { |
41 | print "$1"; | 41 | # print "$1"; |
42 | } | 42 | # } |
43 | print $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 | ||
11 | configuration { | 11 | configuration { |
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 | |||
@@ -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 |
@@ -58,6 +58,12 @@ report.todoConky.sort = due+ | |||
58 | report.todoConky.filter = status:pending and due.after:now and due.before:later | 58 | report.todoConky.filter = status:pending and due.after:now and due.before:later |
59 | report.todoConky.dateformat = D-M-y H:N (A) | 59 | report.todoConky.dateformat = D-M-y H:N (A) |
60 | 60 | ||
61 | ### report for focus script | ||
62 | report.custom_focus.columns = description | ||
63 | report.custom_focus.labels = Description | ||
64 | report.custom_focus.description = Task to feed to focus script | ||
65 | report.custom_focus.filter = status:pending and +ACTIVE | ||
66 | |||
61 | ### contexts | 67 | ### contexts |
62 | context.home = +@home or +@online | 68 | context.home = +@home or +@online |
63 | context.work = +@work or +@online | 69 | context.work = +@work or +@online |