diff options
author | Yigit Sever | 2020-05-14 13:40:37 +0300 |
---|---|---|
committer | Yigit Sever | 2020-05-14 13:40:37 +0300 |
commit | 632ea038519b58312c5bed7ad8788d4e46cfa12a (patch) | |
tree | d19da88f3c5bd897dca6a2634b98bfb9989c8176 | |
parent | 7d97392d13c548b6ca9a1ecde41c29f28ed0c061 (diff) | |
parent | baf7fef97f1fe2f1bbe8159f5a5a928a2eba73be (diff) | |
download | dotfiles-632ea038519b58312c5bed7ad8788d4e46cfa12a.tar.gz dotfiles-632ea038519b58312c5bed7ad8788d4e46cfa12a.tar.bz2 dotfiles-632ea038519b58312c5bed7ad8788d4e46cfa12a.zip |
Merge branch 'master' of 207.154.210.186:/home/yigit/dots
-rwxr-xr-x | .config/dunst/dunstrc | 2 | ||||
-rw-r--r-- | .config/i3/config##c.desktop,h.Maus | 33 | ||||
-rw-r--r-- | .config/kitty/kitty.conf | 47 | ||||
-rw-r--r-- | .config/nvim/after/plugin/abolish.vim | 1 | ||||
-rwxr-xr-x | .config/nvim/init.vim | 68 | ||||
-rw-r--r-- | .config/nvim/spell/en.utf-8.add | 2 | ||||
-rw-r--r-- | .config/picom/picom.conf (renamed from .config/compton/compton.conf) | 8 | ||||
-rw-r--r-- | .config/polybar/config##c.desktop,h.Maus | 35 | ||||
-rwxr-xr-x | .config/polybar/focus | 2 | ||||
-rwxr-xr-x | .config/polybar/pulseaudio-control.sh | 2 | ||||
-rw-r--r-- | .config/zathura/zathurarc | 59 | ||||
-rwxr-xr-x | .screenlayout/weird.sh##c.desktop,h.Maus | 2 | ||||
-rw-r--r-- | .ssh/config | 4 | ||||
-rw-r--r-- | .taskrc##c.desktop,h.Maus | 10 | ||||
-rw-r--r-- | .vim/my-snippets/UltiSnips/ledger.snippets | 10 | ||||
-rw-r--r-- | .zshrc | 4 |
16 files changed, 174 insertions, 115 deletions
diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 523d3ba..7f72108 100755 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc | |||
@@ -35,7 +35,7 @@ class = Dunst | |||
35 | [shortcuts] | 35 | [shortcuts] |
36 | close = ctrl+space | 36 | close = ctrl+space |
37 | close_all = ctrl+shift+space | 37 | close_all = ctrl+shift+space |
38 | history = ctrl+grave | 38 | history = ctrl+0 |
39 | context = ctrl+shift+period | 39 | context = ctrl+shift+period |
40 | 40 | ||
41 | [urgency_low] | 41 | [urgency_low] |
diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus index f169440..0fccdce 100644 --- a/.config/i3/config##c.desktop,h.Maus +++ b/.config/i3/config##c.desktop,h.Maus | |||
@@ -13,13 +13,15 @@ exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer no | |||
13 | 13 | ||
14 | #autostart | 14 | #autostart |
15 | exec --no-startup-id xsettingsd & | 15 | exec --no-startup-id xsettingsd & |
16 | exec --no-startup-id compton -b & | 16 | exec --no-startup-id picom -b & |
17 | exec --no-startup-id flashfocus & | ||
17 | exec --no-startup-id nextcloud & | 18 | exec --no-startup-id nextcloud & |
18 | exec --no-startup-id copyq & | 19 | exec --no-startup-id copyq & |
19 | exec --no-startup-id redshift-gtk & | 20 | exec --no-startup-id redshift-gtk & |
20 | exec --no-startup-id nm-applet & | 21 | exec --no-startup-id nm-applet & |
21 | exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off & | 22 | exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off & |
22 | exec --no-startup-id xdotool key --clearmodifiers Num_Lock | 23 | exec --no-startup-id xdotool key --clearmodifiers Num_Lock |
24 | exec --no-startup-id udiskie --automount --file-manager thunar --tray --notify & | ||
23 | 25 | ||
24 | # swap caps lock and escape, set keyboard layout | 26 | # swap caps lock and escape, set keyboard layout |
25 | exec --no-startup-id setxkbmap -model pc105 -layout tr,us -variant ,colemak -option grp:alt_shift_toggle,caps:backspace | 27 | exec --no-startup-id setxkbmap -model pc105 -layout tr,us -variant ,colemak -option grp:alt_shift_toggle,caps:backspace |
@@ -34,7 +36,6 @@ exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf | |||
34 | # set the wallpaper last (hopefully after xrandr) | 36 | # set the wallpaper last (hopefully after xrandr) |
35 | exec --no-startup-id ~/.fehbg | 37 | exec --no-startup-id ~/.fehbg |
36 | 38 | ||
37 | exec_always --no-startup-id flashfocus | ||
38 | 39 | ||
39 | # Font for window titles | 40 | # Font for window titles |
40 | font pango:Lato 11 | 41 | font pango:Lato 11 |
@@ -71,12 +72,21 @@ bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr - | |||
71 | bindsym Print exec flameshot gui | 72 | bindsym Print exec flameshot gui |
72 | 73 | ||
73 | # media keys | 74 | # media keys |
74 | bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 75 | bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
75 | bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | 76 | bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
76 | bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" | 77 | bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" |
77 | bindsym $mod+q exec --no-startup-id playerctl play-pause | 78 | bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause |
78 | bindsym $mod+Left exec --no-startup-id playerctl previous | 79 | bindsym XF86AudioPrev exec --no-startup-id playerctl previous |
79 | bindsym $mod+Right exec --no-startup-id playerctl next | 80 | bindsym XF86AudioNext exec --no-startup-id playerctl next |
81 | bindsym XF86Tools exec --no-startup-id mpc toggle | ||
82 | |||
83 | # # media keys | ||
84 | # bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | ||
85 | # bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" | ||
86 | # bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" | ||
87 | # bindsym $mod+q exec --no-startup-id playerctl play-pause | ||
88 | # bindsym $mod+Left exec --no-startup-id playerctl previous | ||
89 | # bindsym $mod+Right exec --no-startup-id playerctl next | ||
80 | 90 | ||
81 | # Make the currently focused window a scratchpad | 91 | # Make the currently focused window a scratchpad |
82 | bindsym $mod+Shift+minus move scratchpad | 92 | bindsym $mod+Shift+minus move scratchpad |
@@ -173,8 +183,8 @@ bindsym $mod+Shift+8 move container to workspace $ws8 | |||
173 | bindsym $mod+Shift+9 move container to workspace $ws9 | 183 | bindsym $mod+Shift+9 move container to workspace $ws9 |
174 | bindsym $mod+Shift+0 move container to workspace $ws10 | 184 | bindsym $mod+Shift+0 move container to workspace $ws10 |
175 | 185 | ||
176 | bindsym $mod+Shift+greater move container to output right | 186 | bindsym $mod+z move container to output right |
177 | bindsym $mod+Shift+less move container to output left | 187 | # bindsym $mod+Shift+less move container to output left |
178 | 188 | ||
179 | # reload the configuration file | 189 | # reload the configuration file |
180 | bindsym $mod+Shift+c reload | 190 | bindsym $mod+Shift+c reload |
@@ -269,7 +279,7 @@ for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable | |||
269 | assign [class="^Steam$"] 9 | 279 | assign [class="^Steam$"] 9 |
270 | assign [class="^Thunderbird$"] 8 | 280 | assign [class="^Thunderbird$"] 8 |
271 | 281 | ||
272 | exec --no-startup-id i3-msg 'exec /usr/bin/firefox;move container to output right' | 282 | # exec --no-startup-id i3-msg 'exec /usr/bin/firefox;move container to output right' |
273 | 283 | ||
274 | # class border backgr. text indicator child_border | 284 | # class border backgr. text indicator child_border |
275 | client.focused #458588 #285577 #ffffff #458588 #285577 | 285 | client.focused #458588 #285577 #ffffff #458588 #285577 |
@@ -284,3 +294,4 @@ client.background #ffffff | |||
284 | hide_edge_borders smart | 294 | hide_edge_borders smart |
285 | workspace_auto_back_and_forth yes | 295 | workspace_auto_back_and_forth yes |
286 | focus_follows_mouse no | 296 | focus_follows_mouse no |
297 | mouse_warping none | ||
diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 08a2ab7..7629b57 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf | |||
@@ -78,29 +78,30 @@ inactive_tab_font_style normal | |||
78 | 78 | ||
79 | #: Color scheme {{{ | 79 | #: Color scheme {{{ |
80 | 80 | ||
81 | # Dark | 81 | # moonfly |
82 | 82 | # https://github.com/bluz71/vim-moonfly-colors/blob/master/terminal_themes/kitty-theme.conf | |
83 | foreground #979eab | 83 | |
84 | background #282c34 | 84 | background #080808 |
85 | cursor #cccccc | 85 | foreground #b2b2b2 |
86 | color0 #282c34 | 86 | cursor #9e9e9e |
87 | color1 #e06c75 | 87 | color0 #373c40 |
88 | color2 #98c379 | 88 | color1 #ff5454 |
89 | color3 #e5c07b | 89 | color2 #8cc85f |
90 | color4 #61afef | 90 | color3 #e3c78a |
91 | color5 #be5046 | 91 | color4 #80a0ff |
92 | color6 #56b6c2 | 92 | color5 #d183e8 |
93 | color7 #979eab | 93 | color6 #7ee0ce |
94 | color8 #393e48 | 94 | color7 #de935f |
95 | color9 #d19a66 | 95 | color8 #f09479 |
96 | color10 #56b6c2 | 96 | color9 #f74782 |
97 | color11 #e5c07b | 97 | color10 #42cf89 |
98 | color12 #61afef | 98 | color11 #cfcfb0 |
99 | color13 #be5046 | 99 | color12 #78c2ff |
100 | color14 #56b6c2 | 100 | color13 #ae81ff |
101 | color15 #abb2bf | 101 | color14 #85dc85 |
102 | selection_foreground #282c34 | 102 | color15 #e2637f |
103 | selection_background #979eab | 103 | selection_background #b2ceee |
104 | selection_foreground #080808 | ||
104 | 105 | ||
105 | #: }}} | 106 | #: }}} |
106 | 107 | ||
diff --git a/.config/nvim/after/plugin/abolish.vim b/.config/nvim/after/plugin/abolish.vim index e313ecb..a295819 100644 --- a/.config/nvim/after/plugin/abolish.vim +++ b/.config/nvim/after/plugin/abolish.vim | |||
@@ -12,3 +12,4 @@ iabbrev <silent> todaydatetime <C-R>=strftime("%F %T")<CR> | |||
12 | iabbrev <silent> todaydate <C-R>=strftime("%F")<CR> | 12 | iabbrev <silent> todaydate <C-R>=strftime("%F")<CR> |
13 | iabbrev <silent> pwn English Princeton WordNet | 13 | iabbrev <silent> pwn English Princeton WordNet |
14 | iabbrev <silent> omw Open Multilingual WordNet | 14 | iabbrev <silent> omw Open Multilingual WordNet |
15 | iabbrev <silent> BC blockchain | ||
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index fb68190..36e62c0 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim | |||
@@ -1,6 +1,9 @@ | |||
1 | "{{{ Plugs | 1 | "{{{ Plugs |
2 | call plug#begin('~/.local/share/nvim/plugged') | 2 | call plug#begin('~/.local/share/nvim/plugged') |
3 | 3 | ||
4 | " latex " had to move vimtex to top to avoid a difficult error | ||
5 | Plug 'lervag/vimtex' | ||
6 | |||
4 | " completion | 7 | " completion |
5 | Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | 8 | Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } |
6 | Plug 'lionawurscht/deoplete-biblatex' | 9 | Plug 'lionawurscht/deoplete-biblatex' |
@@ -26,15 +29,16 @@ Plug 'tmsvg/pear-tree' | |||
26 | Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | 29 | Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } |
27 | Plug 'junegunn/fzf.vim' | 30 | Plug 'junegunn/fzf.vim' |
28 | 31 | ||
29 | " tree explorer | 32 | " tree explorer, i don't use this as much but don't like netrw either |
30 | Plug 'scrooloose/nerdtree' | 33 | Plug 'scrooloose/nerdtree' |
31 | " displays tags ordered by scope | 34 | " displays tags ordered by scope |
32 | Plug 'majutsushi/tagbar' | 35 | Plug 'majutsushi/tagbar' |
33 | " status/tabline | 36 | " status/tabline |
34 | Plug 'bling/vim-airline' | 37 | Plug 'vim-airline/vim-airline' |
38 | Plug 'vim-airline/vim-airline-themes' | ||
35 | 39 | ||
36 | " color theme of $CURRENT_YEAR | 40 | " color theme of $CURRENT_YEAR |
37 | Plug 'joshdick/onedark.vim' | 41 | Plug 'bluz71/vim-moonfly-colors' |
38 | 42 | ||
39 | " Personal wiki | 43 | " Personal wiki |
40 | Plug 'vimwiki/vimwiki' | 44 | Plug 'vimwiki/vimwiki' |
@@ -42,28 +46,24 @@ Plug 'vimwiki/vimwiki' | |||
42 | Plug 'junegunn/goyo.vim' | 46 | Plug 'junegunn/goyo.vim' |
43 | " highlights the current paragraph | 47 | " highlights the current paragraph |
44 | Plug 'junegunn/limelight.vim' | 48 | Plug 'junegunn/limelight.vim' |
45 | " latex | ||
46 | Plug 'lervag/vimtex' | ||
47 | 49 | ||
48 | " text alignment | 50 | " text alignment \w :Tab |
49 | Plug 'godlygeek/tabular' | 51 | Plug 'godlygeek/tabular' |
50 | " move selections up and down | 52 | " move selections up and down with alt+[j,k] |
51 | Plug 'matze/vim-move' | 53 | Plug 'matze/vim-move' |
52 | " search/select/edit sandwiched textobjects | 54 | " surround text objects; sa, sr and sd |
53 | Plug 'machakann/vim-sandwich' | 55 | Plug 'machakann/vim-sandwich' |
54 | " provide additional text objects | 56 | " provide additional text objects |
55 | Plug 'wellle/targets.vim' | 57 | Plug 'wellle/targets.vim' |
56 | " indentation level text object | 58 | " indentation level text object, ia, ii |
57 | Plug 'michaeljsmith/vim-indent-object' | 59 | Plug 'michaeljsmith/vim-indent-object' |
58 | " visual feedback for substitute | 60 | " visual feedback for substitute holy shit this is amazing |
59 | Plug 'markonm/traces.vim' | 61 | Plug 'markonm/traces.vim' |
60 | " insert mode completions from tmux panes | ||
61 | Plug 'wellle/tmux-complete.vim' | ||
62 | " see the contents of registers on "/<CTRL-R> | 62 | " see the contents of registers on "/<CTRL-R> |
63 | Plug 'junegunn/vim-peekaboo' | 63 | Plug 'junegunn/vim-peekaboo' |
64 | " use <leader>k to highlight multiple words | 64 | " use <leader>k to highlight multiple words |
65 | Plug 'lfv89/vim-interestingwords' | 65 | Plug 'lfv89/vim-interestingwords' |
66 | " swap delimited items | 66 | " swap delimited items using g>, g< |
67 | Plug 'machakann/vim-swap' | 67 | Plug 'machakann/vim-swap' |
68 | 68 | ||
69 | " reopen files at your last edit position | 69 | " reopen files at your last edit position |
@@ -72,7 +72,7 @@ Plug 'farmergreg/vim-lastplace' | |||
72 | Plug 'airblade/vim-gitgutter' | 72 | Plug 'airblade/vim-gitgutter' |
73 | " Conflict merger | 73 | " Conflict merger |
74 | Plug 'christoomey/vim-conflicted' | 74 | Plug 'christoomey/vim-conflicted' |
75 | " jump to location by 2 characters | 75 | " jump to location by 2 characters, ` |
76 | Plug 'justinmk/vim-sneak' | 76 | Plug 'justinmk/vim-sneak' |
77 | 77 | ||
78 | " splits delete into cut and delete | 78 | " splits delete into cut and delete |
@@ -102,7 +102,6 @@ Plug 'tpope/vim-dispatch' | |||
102 | " fancy start screen | 102 | " fancy start screen |
103 | Plug 'mhinz/vim-startify' | 103 | Plug 'mhinz/vim-startify' |
104 | Plug 'ryanoasis/vim-devicons' " asks to be placed last, sure | 104 | Plug 'ryanoasis/vim-devicons' " asks to be placed last, sure |
105 | |||
106 | call plug#end() " required | 105 | call plug#end() " required |
107 | 106 | ||
108 | "}}} | 107 | "}}} |
@@ -122,6 +121,19 @@ autocmd VimResized * :wincmd = | |||
122 | autocmd FileType markdown,tex setlocal spell | 121 | autocmd FileType markdown,tex setlocal spell |
123 | "}}} | 122 | "}}} |
124 | 123 | ||
124 | " Functions {{{ | ||
125 | function! CreatePaper(citekey) | ||
126 | exe "e! " . fnameescape("~/Nextcloud/personal_wiki/papers/" . a:citekey . ".wiki") | ||
127 | |||
128 | let l:timestap="Report Created at: " . strftime("%c") | ||
129 | let l:text="= Came From =\n\n= Takeaways =\n\n= Might Go To =\n\n" | ||
130 | |||
131 | put! =l:timestap | ||
132 | put =l:text | ||
133 | |||
134 | endfunction | ||
135 | " }}} Function " | ||
136 | |||
125 | "{{{Misc Settings | 137 | "{{{Misc Settings |
126 | 138 | ||
127 | " Use deoplete. | 139 | " Use deoplete. |
@@ -182,19 +194,23 @@ if executable('rg') | |||
182 | set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case | 194 | set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case |
183 | endif | 195 | endif |
184 | 196 | ||
185 | set diffopt+=internal,algorithm:patience | 197 | set diffopt=algorithm:patience |
186 | 198 | ||
187 | " }}} | 199 | " }}} |
188 | 200 | ||
189 | "{{{Look and Feel | 201 | "{{{Look and Feel |
190 | let g:onedark_terminal_italics=1 | ||
191 | set termguicolors | 202 | set termguicolors |
192 | colorscheme onedark | 203 | colorscheme moonfly |
204 | let g:moonflyUndercurls = 0 | ||
193 | 205 | ||
194 | " }}} | 206 | " }}} |
195 | 207 | ||
196 | "{{{ Mappings | 208 | "{{{ Mappings |
197 | 209 | ||
210 | " If you like "Y" to work from the cursor to the end of line (which is more | ||
211 | " logical, but not Vi-compatible) | ||
212 | map Y y$ | ||
213 | |||
198 | " Open the TagBar Plugin <F3> | 214 | " Open the TagBar Plugin <F3> |
199 | nnoremap <silent> <F3> :TagbarToggle<CR> | 215 | nnoremap <silent> <F3> :TagbarToggle<CR> |
200 | " Open NERDTree <F4> | 216 | " Open NERDTree <F4> |
@@ -230,8 +246,8 @@ nnoremap <C-l> <C-w>l | |||
230 | 246 | ||
231 | " Disable highlight when <leader><cr> is pressed | 247 | " Disable highlight when <leader><cr> is pressed |
232 | nnoremap <silent> <Leader><cr> :noh<cr> | 248 | nnoremap <silent> <Leader><cr> :noh<cr> |
233 | " Space will toggle folds! | 249 | " Space used to toggle folds, now it's x (because x is d) |
234 | nnoremap <space> za | 250 | nnoremap <space> "_x |
235 | 251 | ||
236 | " checkmarks on vimwiki | 252 | " checkmarks on vimwiki |
237 | nmap <Leader>v <Plug>VimwikiToggleListItem | 253 | nmap <Leader>v <Plug>VimwikiToggleListItem |
@@ -287,7 +303,6 @@ let g:tagbar_width = 25 | |||
287 | 303 | ||
288 | "{{{ Airline | 304 | "{{{ Airline |
289 | let g:airline_powerline_fonts = 1 | 305 | let g:airline_powerline_fonts = 1 |
290 | let g:airline_theme='onedark' | ||
291 | let g:airline#extensions#tabline#formatter = 'unique_tail' | 306 | let g:airline#extensions#tabline#formatter = 'unique_tail' |
292 | let g:airline#extensions#tabline#enabled = 1 | 307 | let g:airline#extensions#tabline#enabled = 1 |
293 | let g:airline_mode_map = {} | 308 | let g:airline_mode_map = {} |
@@ -324,11 +339,12 @@ let g:ledger_fillstring = ' ~' | |||
324 | 339 | ||
325 | "{{{ UltiSnips | 340 | "{{{ UltiSnips |
326 | set runtimepath+=~/.vim/my-snippets/ | 341 | set runtimepath+=~/.vim/my-snippets/ |
327 | let g:UltiSnipsEditSplit="vertical" | 342 | let g:UltiSnipsEditSplit = "vertical" |
328 | let g:UltiSnipsSnippetsDir=$HOME.'/.vim/my-snippets/UltiSnips' | 343 | let g:UltiSnipsSnippetsDir = $HOME.'/.vim/my-snippets/UltiSnips' |
329 | 344 | ||
330 | " ctrl + l expands the snippet, c + j/k navigates placeholders | 345 | " ctrl + l expands the snippet, c + j/k navigates placeholders |
331 | let g:UltiSnipsExpandTrigger = "<C-l>" | 346 | let g:UltiSnipsExpandTrigger = "<C-l>" |
347 | let g:UltiSnipsEnableSnipMate = "1" | ||
332 | "}}} | 348 | "}}} |
333 | 349 | ||
334 | "{{{ vim-startify | 350 | "{{{ vim-startify |
@@ -368,10 +384,10 @@ let g:vimwiki_global_ext = 0 | |||
368 | "}}} | 384 | "}}} |
369 | 385 | ||
370 | " {{{ vimtex | 386 | " {{{ vimtex |
371 | let g:vimtex_view_method = 'zathura' | 387 | let g:vimtex_view_method='zathura' |
372 | let g:tex_flavor='latex' | 388 | let g:tex_flavor='latex' |
373 | let g:vimtex_quickfix_mode = 0 | 389 | let g:vimtex_quickfix_mode=0 |
374 | let g:polyglot_disabled = ['latex', 'tex', 'ledger'] | 390 | let g:polyglot_disabled=['latex', 'tex', 'ledger'] |
375 | " }}} | 391 | " }}} |
376 | 392 | ||
377 | " {{{ Gutentags | 393 | " {{{ Gutentags |
diff --git a/.config/nvim/spell/en.utf-8.add b/.config/nvim/spell/en.utf-8.add index 33ac00d..c78ddf8 100644 --- a/.config/nvim/spell/en.utf-8.add +++ b/.config/nvim/spell/en.utf-8.add | |||
@@ -43,3 +43,5 @@ unsecure | |||
43 | replaceability | 43 | replaceability |
44 | Kerberos | 44 | Kerberos |
45 | IoT | 45 | IoT |
46 | Blockchain | ||
47 | blockchain | ||
diff --git a/.config/compton/compton.conf b/.config/picom/picom.conf index 357f978..5d4b9ce 100644 --- a/.config/compton/compton.conf +++ b/.config/picom/picom.conf | |||
@@ -4,7 +4,7 @@ shadow-radius = 0; | |||
4 | shadow-offset-x = 5; | 4 | shadow-offset-x = 5; |
5 | shadow-offset-y = 5; | 5 | shadow-offset-y = 5; |
6 | log-level = "warn"; | 6 | log-level = "warn"; |
7 | # log-file = "/path/to/your/log/file"; | 7 | # log-file = "~/.picom.log"; |
8 | shadow-opacity = 0.8; | 8 | shadow-opacity = 0.8; |
9 | #shadow-red = 0.33; | 9 | #shadow-red = 0.33; |
10 | #shadow-green = 0.33; | 10 | #shadow-green = 0.33; |
@@ -62,8 +62,8 @@ mark-ovredir-focused = true; | |||
62 | detect-rounded-corners = true; | 62 | detect-rounded-corners = true; |
63 | detect-client-opacity = true; | 63 | detect-client-opacity = true; |
64 | refresh-rate = 0; | 64 | refresh-rate = 0; |
65 | vsync = "opengl-swc"; | 65 | vsync = true; |
66 | paint-on-overlay = true; | 66 | # paint-on-overlay = true; |
67 | sw-opti = false; | 67 | sw-opti = false; |
68 | # unredir-if-possible = true; | 68 | # unredir-if-possible = true; |
69 | # unredir-if-possible-delay = 5000; | 69 | # unredir-if-possible-delay = 5000; |
@@ -77,7 +77,7 @@ invert-color-include = [ ]; | |||
77 | # GLX backend | 77 | # GLX backend |
78 | glx-no-stencil = true; | 78 | glx-no-stencil = true; |
79 | glx-copy-from-front = false; | 79 | glx-copy-from-front = false; |
80 | glx-swap-method = "undefined"; | 80 | use-damage = true |
81 | # glx-no-rebind-pixmap = true; | 81 | # glx-no-rebind-pixmap = true; |
82 | # glx-swap-method = "undefined"; | 82 | # glx-swap-method = "undefined"; |
83 | # glx-use-gpushader4 = true; | 83 | # glx-use-gpushader4 = true; |
diff --git a/.config/polybar/config##c.desktop,h.Maus b/.config/polybar/config##c.desktop,h.Maus index d074d43..eca6920 100644 --- a/.config/polybar/config##c.desktop,h.Maus +++ b/.config/polybar/config##c.desktop,h.Maus | |||
@@ -48,20 +48,24 @@ border-bottom-color = ${colors.background} | |||
48 | padding = 2 | 48 | padding = 2 |
49 | module-margin = 1 | 49 | module-margin = 1 |
50 | 50 | ||
51 | font-0 = Cozette:antialias=false;2 | 51 | font-0 = scientifica:antialias=false;1 |
52 | font-1 = Lato:size=10;1 | 52 | font-1 = Lato:size=10;1 |
53 | font-2 = Raleway:size=10;1 | 53 | font-2 = Raleway:size=10;1 |
54 | font-3 = FuraCode Nerd Font:size=12;2 | 54 | font-3 = FuraCode Nerd Font:size=12;2 |
55 | 55 | ||
56 | modules-left = i3 pulseaudio-control spotify | 56 | modules-left = i3 pulseaudio-control spotify mpd |
57 | modules-center = xwindow | 57 | modules-center = xwindow |
58 | modules-right = focus date time xkeyboard | 58 | modules-right = cpu focus date time xkeyboard |
59 | 59 | ||
60 | tray-position = right | 60 | tray-position = right |
61 | 61 | ||
62 | [module/cpu] | ||
63 | type = internal/cpu | ||
64 | |||
62 | [module/focus] | 65 | [module/focus] |
63 | type = custom/script | 66 | type = custom/script |
64 | exec = ~/.config/polybar/focus | 67 | exec = ~/.config/polybar/focus |
68 | double-click-left = exec ~/.config/polybar/stop & | ||
65 | interval = 10 | 69 | interval = 10 |
66 | 70 | ||
67 | [module/spotify] | 71 | [module/spotify] |
@@ -76,22 +80,20 @@ format-padding = 0 | |||
76 | exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ' , ' | 80 | exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ' , ' |
77 | ;契 | 81 | ;契 |
78 | 82 | ||
79 | ; [module/mpd] | 83 | [module/mpd] |
80 | ; type = internal/mpd | 84 | type = internal/mpd |
81 | ; host = 127.0.0.1 | ||
82 | ; port = 6600 | ||
83 | 85 | ||
84 | ; format-online = <toggle> <label-song> <icon-random> | 86 | format-online = <toggle> <label-song> <icon-random> |
85 | ; label-song = %artist% - %title% | 87 | label-song = %artist% - %title% |
86 | ; icon-pause = | 88 | icon-pause = |
87 | ; icon-play = | 89 | icon-play = |
88 | ; icon-random = 咽 | 90 | icon-random = 咽 |
89 | 91 | ||
90 | ; toggle-on-foreground = ${colors.background_modules} | 92 | toggle-on-foreground = ${colors.background_modules} |
91 | ; toggle-off-foreground = ${colors.foreground_modules} | 93 | toggle-off-foreground = ${colors.foreground_modules} |
92 | 94 | ||
93 | ; format-offline = <label-offline> | 95 | format-offline = <label-offline> |
94 | ; label-offline = mpd is offline | 96 | label-offline = mpd is offline |
95 | 97 | ||
96 | [module/xwindow] | 98 | [module/xwindow] |
97 | type = internal/xwindow | 99 | type = internal/xwindow |
@@ -100,7 +102,6 @@ label = %title:0:70:...% | |||
100 | 102 | ||
101 | y-offset = 10 | 103 | y-offset = 10 |
102 | label-padding = 1 | 104 | label-padding = 1 |
103 | label-font = 1 | ||
104 | 105 | ||
105 | label-empty = | 106 | label-empty = |
106 | label-empty-font = 3 | 107 | label-empty-font = 3 |
diff --git a/.config/polybar/focus b/.config/polybar/focus index fdf2f30..f375cc3 100755 --- a/.config/polybar/focus +++ b/.config/polybar/focus | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/usr/bin/env perl | 1 | #!/usr/bin/env perl |
2 | # shows active taskwarrior task on polybar | 2 | # shows active taskwarrior task on polybar |
3 | #Copyright © 2019 yourname | 3 | #Copyright © 2019 yigit |
4 | 4 | ||
5 | #This program is free software: you can redistribute it and/or modify | 5 | #This program is free software: you can redistribute it and/or modify |
6 | #it under the terms of the GNU General Public License as published by | 6 | #it under the terms of the GNU General Public License as published by |
diff --git a/.config/polybar/pulseaudio-control.sh b/.config/polybar/pulseaudio-control.sh index a080d65..51247fd 100755 --- a/.config/polybar/pulseaudio-control.sh +++ b/.config/polybar/pulseaudio-control.sh | |||
@@ -14,7 +14,7 @@ VOLUME_ICONS=( " " " " " " ) # Volume icons array, from lower volume t | |||
14 | MUTED_ICON=" " # Muted volume icon | 14 | MUTED_ICON=" " # Muted volume icon |
15 | MUTED_COLOR="%{F#A9AA83}" # Color when the audio is muted | 15 | MUTED_COLOR="%{F#A9AA83}" # Color when the audio is muted |
16 | DEFAULT_SINK_ICON="" # The default sink icon if a custom one isn't found | 16 | DEFAULT_SINK_ICON="" # The default sink icon if a custom one isn't found |
17 | CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order | 17 | CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order |
18 | NOTIFICATIONS="yes" # Notifications when switching sinks if enabled | 18 | NOTIFICATIONS="yes" # Notifications when switching sinks if enabled |
19 | SINK_BLACKLIST=( ) # Index blacklist for sinks when switching between them | 19 | SINK_BLACKLIST=( ) # Index blacklist for sinks when switching between them |
20 | 20 | ||
diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index 58b466d..a0759f3 100644 --- a/.config/zathura/zathurarc +++ b/.config/zathura/zathurarc | |||
@@ -1,37 +1,48 @@ | |||
1 | set selection-clipboard clipboard | 1 | set selection-clipboard "clipboard" |
2 | set incremental-search "true" | 2 | set incremental-search "true" |
3 | set guioptions "shv" | ||
3 | 4 | ||
4 | set default-bg "#282c34" | 5 | set default-fg "#9e9e9e" |
5 | set default-fg "#353b45" | 6 | set default-bg "#0e0e0e" |
6 | 7 | ||
7 | set statusbar-fg "#c8ccd4" | 8 | set recolor-darkcolor "#b2b2b2" |
8 | set statusbar-bg "#3e4451" | 9 | set recolor-lightcolor "#080808" |
9 | 10 | ||
10 | set inputbar-bg "#282c34" | 11 | set statusbar-fg "#b2b2b2" |
11 | set inputbar-fg "#c8ccd4" | 12 | set statusbar-bg "#080808" |
12 | 13 | ||
13 | set notification-bg "#282c34" | 14 | set inputbar-fg "#9e9e9e" |
14 | set notification-fg "#c8ccd4" | 15 | set inputbar-bg "#080808" |
15 | 16 | ||
16 | set notification-error-bg "#282c34" | 17 | set notification-fg "#c8ccd4" |
17 | set notification-error-fg "#e06c75" | 18 | set notification-bg "#282c34" |
18 | 19 | ||
19 | set notification-warning-bg "#282c34" | 20 | set notification-error-fg "#ff5454" |
20 | set notification-warning-fg "#e06c75" | 21 | set notification-error-bg "#080808" |
21 | 22 | ||
22 | set highlight-color "#e5c07b" | 23 | set notification-warning-fg "#e3c78a" |
23 | set highlight-active-color "#61afef" | 24 | set notification-warning-bg "#080808" |
24 | 25 | ||
25 | set completion-bg "#353b45" | 26 | set highlight-color "#e5c07b" |
26 | set completion-fg "#61afef" | 27 | set highlight-active-color "#ff5454" |
27 | 28 | ||
28 | set completion-highlight-fg "#c8ccd4" | 29 | set completion-fg "#80a0ff" |
29 | set completion-highlight-bg "#61afef" | 30 | set completion-bg "#080808" |
30 | 31 | ||
31 | set recolor-lightcolor "#282c34" | 32 | set completion-highlight-fg "#080808" |
32 | set recolor-darkcolor "#b6bdca" | 33 | set completion-highlight-bg "#80a0ff" |
33 | 34 | ||
34 | set recolor "true" | 35 | set tabbar-fg "#f74782" |
35 | set recolor-keephue "false" | 36 | set tabbar-bg "#080808" |
37 | |||
38 | set index-fg "#9e9e9e" | ||
39 | set index-bg "#080808" | ||
40 | set index-active-fg "#080808" | ||
41 | set index-active-bg "#8cc85f" | ||
42 | |||
43 | set recolor "true" | ||
44 | set recolor-keephue "false" | ||
45 | set synctex "true" | ||
46 | set syntex-editor-command "nvr --remote +%line %file"" | ||
36 | 47 | ||
37 | map <C-s> feedkeys ":write /home/yigit/Downloads/toPrint/toPrint_staging<Return>" | 48 | map <C-s> feedkeys ":write /home/yigit/Downloads/toPrint/toPrint_staging<Return>" |
diff --git a/.screenlayout/weird.sh##c.desktop,h.Maus b/.screenlayout/weird.sh##c.desktop,h.Maus new file mode 100755 index 0000000..e1e8041 --- /dev/null +++ b/.screenlayout/weird.sh##c.desktop,h.Maus | |||
@@ -0,0 +1,2 @@ | |||
1 | #!/bin/sh | ||
2 | xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off | ||
diff --git a/.ssh/config b/.ssh/config index 2930dbb..b549e42 100644 --- a/.ssh/config +++ b/.ssh/config | |||
@@ -21,3 +21,7 @@ Host beast | |||
21 | HostName 10.10.2.21 | 21 | HostName 10.10.2.21 |
22 | Port 22 | 22 | Port 22 |
23 | User yigit | 23 | User yigit |
24 | Host wins.ceng.metu.edu.tr | ||
25 | Port 8083 | ||
26 | Preferredauthentications publickey | ||
27 | IdentityFile ~/.ssh/id_ed25519 | ||
diff --git a/.taskrc##c.desktop,h.Maus b/.taskrc##c.desktop,h.Maus index d6e0a23..260d079 100644 --- a/.taskrc##c.desktop,h.Maus +++ b/.taskrc##c.desktop,h.Maus | |||
@@ -62,11 +62,17 @@ report.todoConky.filter = status:pending and due.after:now and due.before:l | |||
62 | report.todoConky.dateformat = D-M-y H:N (A) | 62 | report.todoConky.dateformat = D-M-y H:N (A) |
63 | 63 | ||
64 | ### report for focus script | 64 | ### report for focus script |
65 | report.custom_focus.columns = description | 65 | report.custom_focus.columns = description,start.age |
66 | report.custom_focus.labels = Description | 66 | report.custom_focus.labels = Description,active |
67 | report.custom_focus.description = Task to feed to focus script | 67 | report.custom_focus.description = Task to feed to focus script |
68 | report.custom_focus.filter = status:pending and +ACTIVE | 68 | report.custom_focus.filter = status:pending and +ACTIVE |
69 | 69 | ||
70 | ### report for stopping the focused task | ||
71 | report.custom_stop.columns = id | ||
72 | report.custom_stop.labels = ID | ||
73 | report.custom_stop.description = Task id to feed to stop script | ||
74 | report.custom_stop.filter = status:pending and +ACTIVE | ||
75 | |||
70 | ### contexts | 76 | ### contexts |
71 | context.home = +@home or +@online | 77 | context.home = +@home or +@online |
72 | context.work = +@work or +@online | 78 | context.work = +@work or +@online |
diff --git a/.vim/my-snippets/UltiSnips/ledger.snippets b/.vim/my-snippets/UltiSnips/ledger.snippets index d393441..c0a7eb7 100644 --- a/.vim/my-snippets/UltiSnips/ledger.snippets +++ b/.vim/my-snippets/UltiSnips/ledger.snippets | |||
@@ -3,29 +3,29 @@ | |||
3 | snippet c "New Checking Transaction" b | 3 | snippet c "New Checking Transaction" b |
4 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee} | 4 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee} |
5 | Expenses:${5:} ${6:0.00} TL | 5 | Expenses:${5:} ${6:0.00} TL |
6 | Assets:Checking$0 | 6 | Assets:Maas$0 |
7 | endsnippet | 7 | endsnippet |
8 | 8 | ||
9 | snippet l "New Liabilities Transaction" b | 9 | snippet l "New Liabilities Transaction" b |
10 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee} | 10 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} ${4:Payee} |
11 | Expenses:${5:} ${6:0.00} TL | 11 | Expenses:${5:} ${6:0.00} TL |
12 | Liabilities:Afili Bonus$0 | 12 | Liabilities:Maximum$0 |
13 | endsnippet | 13 | endsnippet |
14 | 14 | ||
15 | snippet a "New Asmaalti Transaction" b | 15 | snippet a "New Asmaalti Transaction" b |
16 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Asmaalti Piknik | 16 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Asmaalti Piknik |
17 | Expenses:Food:Eating Out ${4:0.00} TL | 17 | Expenses:Food:Eating Out ${4:0.00} TL |
18 | ${5:Assets:Checking}$0 | 18 | ${5:Assets:Maas}$0 |
19 | endsnippet | 19 | endsnippet |
20 | 20 | ||
21 | snippet y "New Yemeksepeti Transaction" b | 21 | snippet y "New Yemeksepeti Transaction" b |
22 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Yemeksepeti | 22 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Yemeksepeti |
23 | Expenses:Takeout ${4:0.00} TL | 23 | Expenses:Takeout ${4:0.00} TL |
24 | ${5:Liabilities:Afili Bonus}$0 | 24 | ${5:Liabilities:Maximum}$0 |
25 | endsnippet | 25 | endsnippet |
26 | 26 | ||
27 | snippet m "New Migros Transaction" b | 27 | snippet m "New Migros Transaction" b |
28 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Migros Market | 28 | ${1:`!v strftime("%Y")`}-${2:`!v strftime("%m")`}-${3:`!v strftime("%d")`} Migros Market |
29 | Expenses:Food:Groceries ${4:0.00} TL | 29 | Expenses:Food:Groceries ${4:0.00} TL |
30 | ${5:Assets:Checking}$0 | 30 | ${5:Assets:Maas}$0 |
31 | endsnippet | 31 | endsnippet |
@@ -126,6 +126,7 @@ alias tp='trash-put' | |||
126 | alias ls='exa' | 126 | alias ls='exa' |
127 | alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki' | 127 | alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki' |
128 | alias ssh='TERM=xterm-256color ssh' | 128 | alias ssh='TERM=xterm-256color ssh' |
129 | alias torem='cd /home/yigit/Nextcloud/remind/' | ||
129 | 130 | ||
130 | RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC | 131 | RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC |
131 | 132 | ||
@@ -159,3 +160,6 @@ function te { | |||
159 | } | 160 | } |
160 | 161 | ||
161 | source /home/yigit/.config/broot/launcher/bash/br | 162 | source /home/yigit/.config/broot/launcher/bash/br |
163 | |||
164 | # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. | ||
165 | export PATH="$PATH:$HOME/.rvm/bin" | ||