summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2020-05-14 13:40:37 +0300
committerYigit Sever2020-05-14 13:40:37 +0300
commit632ea038519b58312c5bed7ad8788d4e46cfa12a (patch)
treed19da88f3c5bd897dca6a2634b98bfb9989c8176
parent7d97392d13c548b6ca9a1ecde41c29f28ed0c061 (diff)
parentbaf7fef97f1fe2f1bbe8159f5a5a928a2eba73be (diff)
downloaddotfiles-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/dunstrc2
-rw-r--r--.config/i3/config##c.desktop,h.Maus33
-rw-r--r--.config/kitty/kitty.conf47
-rw-r--r--.config/nvim/after/plugin/abolish.vim1
-rwxr-xr-x.config/nvim/init.vim68
-rw-r--r--.config/nvim/spell/en.utf-8.add2
-rw-r--r--.config/picom/picom.conf (renamed from .config/compton/compton.conf)8
-rw-r--r--.config/polybar/config##c.desktop,h.Maus35
-rwxr-xr-x.config/polybar/focus2
-rwxr-xr-x.config/polybar/pulseaudio-control.sh2
-rw-r--r--.config/zathura/zathurarc59
-rwxr-xr-x.screenlayout/weird.sh##c.desktop,h.Maus2
-rw-r--r--.ssh/config4
-rw-r--r--.taskrc##c.desktop,h.Maus10
-rw-r--r--.vim/my-snippets/UltiSnips/ledger.snippets10
-rw-r--r--.zshrc4
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]
36close = ctrl+space 36close = ctrl+space
37close_all = ctrl+shift+space 37close_all = ctrl+shift+space
38history = ctrl+grave 38history = ctrl+0
39context = ctrl+shift+period 39context = 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
15exec --no-startup-id xsettingsd & 15exec --no-startup-id xsettingsd &
16exec --no-startup-id compton -b & 16exec --no-startup-id picom -b &
17exec --no-startup-id flashfocus &
17exec --no-startup-id nextcloud & 18exec --no-startup-id nextcloud &
18exec --no-startup-id copyq & 19exec --no-startup-id copyq &
19exec --no-startup-id redshift-gtk & 20exec --no-startup-id redshift-gtk &
20exec --no-startup-id nm-applet & 21exec --no-startup-id nm-applet &
21exec --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 & 22exec --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 &
22exec --no-startup-id xdotool key --clearmodifiers Num_Lock 23exec --no-startup-id xdotool key --clearmodifiers Num_Lock
24exec --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
25exec --no-startup-id setxkbmap -model pc105 -layout tr,us -variant ,colemak -option grp:alt_shift_toggle,caps:backspace 27exec --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)
35exec --no-startup-id ~/.fehbg 37exec --no-startup-id ~/.fehbg
36 38
37exec_always --no-startup-id flashfocus
38 39
39# Font for window titles 40# Font for window titles
40font pango:Lato 11 41font pango:Lato 11
@@ -71,12 +72,21 @@ bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr -
71bindsym Print exec flameshot gui 72bindsym Print exec flameshot gui
72 73
73# media keys 74# media keys
74bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 75bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
75bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" 76bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
76bindsym $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" 77bindsym 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"
77bindsym $mod+q exec --no-startup-id playerctl play-pause 78bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
78bindsym $mod+Left exec --no-startup-id playerctl previous 79bindsym XF86AudioPrev exec --no-startup-id playerctl previous
79bindsym $mod+Right exec --no-startup-id playerctl next 80bindsym XF86AudioNext exec --no-startup-id playerctl next
81bindsym 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
82bindsym $mod+Shift+minus move scratchpad 92bindsym $mod+Shift+minus move scratchpad
@@ -173,8 +183,8 @@ bindsym $mod+Shift+8 move container to workspace $ws8
173bindsym $mod+Shift+9 move container to workspace $ws9 183bindsym $mod+Shift+9 move container to workspace $ws9
174bindsym $mod+Shift+0 move container to workspace $ws10 184bindsym $mod+Shift+0 move container to workspace $ws10
175 185
176bindsym $mod+Shift+greater move container to output right 186bindsym $mod+z move container to output right
177bindsym $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
180bindsym $mod+Shift+c reload 190bindsym $mod+Shift+c reload
@@ -269,7 +279,7 @@ for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable
269assign [class="^Steam$"] 9 279assign [class="^Steam$"] 9
270assign [class="^Thunderbird$"] 8 280assign [class="^Thunderbird$"] 8
271 281
272exec --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
275client.focused #458588 #285577 #ffffff #458588 #285577 285client.focused #458588 #285577 #ffffff #458588 #285577
@@ -284,3 +294,4 @@ client.background #ffffff
284hide_edge_borders smart 294hide_edge_borders smart
285workspace_auto_back_and_forth yes 295workspace_auto_back_and_forth yes
286focus_follows_mouse no 296focus_follows_mouse no
297mouse_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
83foreground #979eab 83
84background #282c34 84background #080808
85cursor #cccccc 85foreground #b2b2b2
86color0 #282c34 86cursor #9e9e9e
87color1 #e06c75 87color0 #373c40
88color2 #98c379 88color1 #ff5454
89color3 #e5c07b 89color2 #8cc85f
90color4 #61afef 90color3 #e3c78a
91color5 #be5046 91color4 #80a0ff
92color6 #56b6c2 92color5 #d183e8
93color7 #979eab 93color6 #7ee0ce
94color8 #393e48 94color7 #de935f
95color9 #d19a66 95color8 #f09479
96color10 #56b6c2 96color9 #f74782
97color11 #e5c07b 97color10 #42cf89
98color12 #61afef 98color11 #cfcfb0
99color13 #be5046 99color12 #78c2ff
100color14 #56b6c2 100color13 #ae81ff
101color15 #abb2bf 101color14 #85dc85
102selection_foreground #282c34 102color15 #e2637f
103selection_background #979eab 103selection_background #b2ceee
104selection_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>
12iabbrev <silent> todaydate <C-R>=strftime("%F")<CR> 12iabbrev <silent> todaydate <C-R>=strftime("%F")<CR>
13iabbrev <silent> pwn English Princeton WordNet 13iabbrev <silent> pwn English Princeton WordNet
14iabbrev <silent> omw Open Multilingual WordNet 14iabbrev <silent> omw Open Multilingual WordNet
15iabbrev <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
2call plug#begin('~/.local/share/nvim/plugged') 2call plug#begin('~/.local/share/nvim/plugged')
3 3
4" latex " had to move vimtex to top to avoid a difficult error
5Plug 'lervag/vimtex'
6
4" completion 7" completion
5Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } 8Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
6Plug 'lionawurscht/deoplete-biblatex' 9Plug 'lionawurscht/deoplete-biblatex'
@@ -26,15 +29,16 @@ Plug 'tmsvg/pear-tree'
26Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } 29Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
27Plug 'junegunn/fzf.vim' 30Plug 'junegunn/fzf.vim'
28 31
29" tree explorer 32" tree explorer, i don't use this as much but don't like netrw either
30Plug 'scrooloose/nerdtree' 33Plug 'scrooloose/nerdtree'
31" displays tags ordered by scope 34" displays tags ordered by scope
32Plug 'majutsushi/tagbar' 35Plug 'majutsushi/tagbar'
33" status/tabline 36" status/tabline
34Plug 'bling/vim-airline' 37Plug 'vim-airline/vim-airline'
38Plug 'vim-airline/vim-airline-themes'
35 39
36" color theme of $CURRENT_YEAR 40" color theme of $CURRENT_YEAR
37Plug 'joshdick/onedark.vim' 41Plug 'bluz71/vim-moonfly-colors'
38 42
39" Personal wiki 43" Personal wiki
40Plug 'vimwiki/vimwiki' 44Plug 'vimwiki/vimwiki'
@@ -42,28 +46,24 @@ Plug 'vimwiki/vimwiki'
42Plug 'junegunn/goyo.vim' 46Plug 'junegunn/goyo.vim'
43" highlights the current paragraph 47" highlights the current paragraph
44Plug 'junegunn/limelight.vim' 48Plug 'junegunn/limelight.vim'
45" latex
46Plug 'lervag/vimtex'
47 49
48" text alignment 50" text alignment \w :Tab
49Plug 'godlygeek/tabular' 51Plug 'godlygeek/tabular'
50" move selections up and down 52" move selections up and down with alt+[j,k]
51Plug 'matze/vim-move' 53Plug 'matze/vim-move'
52" search/select/edit sandwiched textobjects 54" surround text objects; sa, sr and sd
53Plug 'machakann/vim-sandwich' 55Plug 'machakann/vim-sandwich'
54" provide additional text objects 56" provide additional text objects
55Plug 'wellle/targets.vim' 57Plug 'wellle/targets.vim'
56" indentation level text object 58" indentation level text object, ia, ii
57Plug 'michaeljsmith/vim-indent-object' 59Plug 'michaeljsmith/vim-indent-object'
58" visual feedback for substitute 60" visual feedback for substitute holy shit this is amazing
59Plug 'markonm/traces.vim' 61Plug 'markonm/traces.vim'
60" insert mode completions from tmux panes
61Plug 'wellle/tmux-complete.vim'
62" see the contents of registers on "/<CTRL-R> 62" see the contents of registers on "/<CTRL-R>
63Plug 'junegunn/vim-peekaboo' 63Plug 'junegunn/vim-peekaboo'
64" use <leader>k to highlight multiple words 64" use <leader>k to highlight multiple words
65Plug 'lfv89/vim-interestingwords' 65Plug 'lfv89/vim-interestingwords'
66" swap delimited items 66" swap delimited items using g>, g<
67Plug 'machakann/vim-swap' 67Plug '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'
72Plug 'airblade/vim-gitgutter' 72Plug 'airblade/vim-gitgutter'
73" Conflict merger 73" Conflict merger
74Plug 'christoomey/vim-conflicted' 74Plug 'christoomey/vim-conflicted'
75" jump to location by 2 characters 75" jump to location by 2 characters, `
76Plug 'justinmk/vim-sneak' 76Plug '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
103Plug 'mhinz/vim-startify' 103Plug 'mhinz/vim-startify'
104Plug 'ryanoasis/vim-devicons' " asks to be placed last, sure 104Plug 'ryanoasis/vim-devicons' " asks to be placed last, sure
105
106call plug#end() " required 105call plug#end() " required
107 106
108"}}} 107"}}}
@@ -122,6 +121,19 @@ autocmd VimResized * :wincmd =
122autocmd FileType markdown,tex setlocal spell 121autocmd FileType markdown,tex setlocal spell
123"}}} 122"}}}
124 123
124" Functions {{{
125function! 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
134endfunction
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
183endif 195endif
184 196
185set diffopt+=internal,algorithm:patience 197set diffopt=algorithm:patience
186 198
187" }}} 199" }}}
188 200
189"{{{Look and Feel 201"{{{Look and Feel
190let g:onedark_terminal_italics=1
191set termguicolors 202set termguicolors
192colorscheme onedark 203colorscheme moonfly
204let 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)
212map Y y$
213
198" Open the TagBar Plugin <F3> 214" Open the TagBar Plugin <F3>
199nnoremap <silent> <F3> :TagbarToggle<CR> 215nnoremap <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
232nnoremap <silent> <Leader><cr> :noh<cr> 248nnoremap <silent> <Leader><cr> :noh<cr>
233" Space will toggle folds! 249" Space used to toggle folds, now it's x (because x is d)
234nnoremap <space> za 250nnoremap <space> "_x
235 251
236" checkmarks on vimwiki 252" checkmarks on vimwiki
237nmap <Leader>v <Plug>VimwikiToggleListItem 253nmap <Leader>v <Plug>VimwikiToggleListItem
@@ -287,7 +303,6 @@ let g:tagbar_width = 25
287 303
288"{{{ Airline 304"{{{ Airline
289let g:airline_powerline_fonts = 1 305let g:airline_powerline_fonts = 1
290let g:airline_theme='onedark'
291let g:airline#extensions#tabline#formatter = 'unique_tail' 306let g:airline#extensions#tabline#formatter = 'unique_tail'
292let g:airline#extensions#tabline#enabled = 1 307let g:airline#extensions#tabline#enabled = 1
293let g:airline_mode_map = {} 308let g:airline_mode_map = {}
@@ -324,11 +339,12 @@ let g:ledger_fillstring = ' ~'
324 339
325"{{{ UltiSnips 340"{{{ UltiSnips
326set runtimepath+=~/.vim/my-snippets/ 341set runtimepath+=~/.vim/my-snippets/
327let g:UltiSnipsEditSplit="vertical" 342let g:UltiSnipsEditSplit = "vertical"
328let g:UltiSnipsSnippetsDir=$HOME.'/.vim/my-snippets/UltiSnips' 343let 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
331let g:UltiSnipsExpandTrigger = "<C-l>" 346let g:UltiSnipsExpandTrigger = "<C-l>"
347let 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
371let g:vimtex_view_method = 'zathura' 387let g:vimtex_view_method='zathura'
372let g:tex_flavor='latex' 388let g:tex_flavor='latex'
373let g:vimtex_quickfix_mode = 0 389let g:vimtex_quickfix_mode=0
374let g:polyglot_disabled = ['latex', 'tex', 'ledger'] 390let 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
43replaceability 43replaceability
44Kerberos 44Kerberos
45IoT 45IoT
46Blockchain
47blockchain
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;
4shadow-offset-x = 5; 4shadow-offset-x = 5;
5shadow-offset-y = 5; 5shadow-offset-y = 5;
6log-level = "warn"; 6log-level = "warn";
7# log-file = "/path/to/your/log/file"; 7# log-file = "~/.picom.log";
8shadow-opacity = 0.8; 8shadow-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;
62detect-rounded-corners = true; 62detect-rounded-corners = true;
63detect-client-opacity = true; 63detect-client-opacity = true;
64refresh-rate = 0; 64refresh-rate = 0;
65vsync = "opengl-swc"; 65vsync = true;
66paint-on-overlay = true; 66# paint-on-overlay = true;
67sw-opti = false; 67sw-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
78glx-no-stencil = true; 78glx-no-stencil = true;
79glx-copy-from-front = false; 79glx-copy-from-front = false;
80glx-swap-method = "undefined"; 80use-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}
48padding = 2 48padding = 2
49module-margin = 1 49module-margin = 1
50 50
51font-0 = Cozette:antialias=false;2 51font-0 = scientifica:antialias=false;1
52font-1 = Lato:size=10;1 52font-1 = Lato:size=10;1
53font-2 = Raleway:size=10;1 53font-2 = Raleway:size=10;1
54font-3 = FuraCode Nerd Font:size=12;2 54font-3 = FuraCode Nerd Font:size=12;2
55 55
56modules-left = i3 pulseaudio-control spotify 56modules-left = i3 pulseaudio-control spotify mpd
57modules-center = xwindow 57modules-center = xwindow
58modules-right = focus date time xkeyboard 58modules-right = cpu focus date time xkeyboard
59 59
60tray-position = right 60tray-position = right
61 61
62[module/cpu]
63type = internal/cpu
64
62[module/focus] 65[module/focus]
63type = custom/script 66type = custom/script
64exec = ~/.config/polybar/focus 67exec = ~/.config/polybar/focus
68double-click-left = exec ~/.config/polybar/stop &
65interval = 10 69interval = 10
66 70
67[module/spotify] 71[module/spotify]
@@ -76,22 +80,20 @@ format-padding = 0
76exec = python /home/yigit/.config/polybar/spotify_status.py -f '{play_pause} {artist} - {song}' -p ' , ' 80exec = 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 84type = internal/mpd
81; host = 127.0.0.1
82; port = 6600
83 85
84; format-online = <toggle> <label-song> <icon-random> 86format-online = <toggle> <label-song> <icon-random>
85; label-song = %artist% - %title% 87label-song = %artist% - %title%
86; icon-pause =  88icon-pause = 
87; icon-play =  89icon-play = 
88; icon-random = 咽 90icon-random = 咽
89 91
90; toggle-on-foreground = ${colors.background_modules} 92toggle-on-foreground = ${colors.background_modules}
91; toggle-off-foreground = ${colors.foreground_modules} 93toggle-off-foreground = ${colors.foreground_modules}
92 94
93; format-offline = <label-offline> 95format-offline = <label-offline>
94; label-offline = mpd is offline 96label-offline = mpd is offline
95 97
96[module/xwindow] 98[module/xwindow]
97type = internal/xwindow 99type = internal/xwindow
@@ -100,7 +102,6 @@ label = %title:0:70:...%
100 102
101y-offset = 10 103y-offset = 10
102label-padding = 1 104label-padding = 1
103label-font = 1
104 105
105label-empty =  106label-empty = 
106label-empty-font = 3 107label-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
14MUTED_ICON=" " # Muted volume icon 14MUTED_ICON=" " # Muted volume icon
15MUTED_COLOR="%{F#A9AA83}" # Color when the audio is muted 15MUTED_COLOR="%{F#A9AA83}" # Color when the audio is muted
16DEFAULT_SINK_ICON="" # The default sink icon if a custom one isn't found 16DEFAULT_SINK_ICON="" # The default sink icon if a custom one isn't found
17CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order 17CUSTOM_SINK_ICONS=("" "" "") # Custom sink icons in index of sink order
18NOTIFICATIONS="yes" # Notifications when switching sinks if enabled 18NOTIFICATIONS="yes" # Notifications when switching sinks if enabled
19SINK_BLACKLIST=( ) # Index blacklist for sinks when switching between them 19SINK_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 @@
1set selection-clipboard clipboard 1set selection-clipboard "clipboard"
2set incremental-search "true" 2set incremental-search "true"
3set guioptions "shv"
3 4
4set default-bg "#282c34" 5set default-fg "#9e9e9e"
5set default-fg "#353b45" 6set default-bg "#0e0e0e"
6 7
7set statusbar-fg "#c8ccd4" 8set recolor-darkcolor "#b2b2b2"
8set statusbar-bg "#3e4451" 9set recolor-lightcolor "#080808"
9 10
10set inputbar-bg "#282c34" 11set statusbar-fg "#b2b2b2"
11set inputbar-fg "#c8ccd4" 12set statusbar-bg "#080808"
12 13
13set notification-bg "#282c34" 14set inputbar-fg "#9e9e9e"
14set notification-fg "#c8ccd4" 15set inputbar-bg "#080808"
15 16
16set notification-error-bg "#282c34" 17set notification-fg "#c8ccd4"
17set notification-error-fg "#e06c75" 18set notification-bg "#282c34"
18 19
19set notification-warning-bg "#282c34" 20set notification-error-fg "#ff5454"
20set notification-warning-fg "#e06c75" 21set notification-error-bg "#080808"
21 22
22set highlight-color "#e5c07b" 23set notification-warning-fg "#e3c78a"
23set highlight-active-color "#61afef" 24set notification-warning-bg "#080808"
24 25
25set completion-bg "#353b45" 26set highlight-color "#e5c07b"
26set completion-fg "#61afef" 27set highlight-active-color "#ff5454"
27 28
28set completion-highlight-fg "#c8ccd4" 29set completion-fg "#80a0ff"
29set completion-highlight-bg "#61afef" 30set completion-bg "#080808"
30 31
31set recolor-lightcolor "#282c34" 32set completion-highlight-fg "#080808"
32set recolor-darkcolor "#b6bdca" 33set completion-highlight-bg "#80a0ff"
33 34
34set recolor "true" 35set tabbar-fg "#f74782"
35set recolor-keephue "false" 36set tabbar-bg "#080808"
37
38set index-fg "#9e9e9e"
39set index-bg "#080808"
40set index-active-fg "#080808"
41set index-active-bg "#8cc85f"
42
43set recolor "true"
44set recolor-keephue "false"
45set synctex "true"
46set syntex-editor-command "nvr --remote +%line %file""
36 47
37map <C-s> feedkeys ":write /home/yigit/Downloads/toPrint/toPrint_staging<Return>" 48map <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
2xrandr --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
24Host 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
62report.todoConky.dateformat = D-M-y H:N (A) 62report.todoConky.dateformat = D-M-y H:N (A)
63 63
64### report for focus script 64### report for focus script
65report.custom_focus.columns = description 65report.custom_focus.columns = description,start.age
66report.custom_focus.labels = Description 66report.custom_focus.labels = Description,active
67report.custom_focus.description = Task to feed to focus script 67report.custom_focus.description = Task to feed to focus script
68report.custom_focus.filter = status:pending and +ACTIVE 68report.custom_focus.filter = status:pending and +ACTIVE
69 69
70### report for stopping the focused task
71report.custom_stop.columns = id
72report.custom_stop.labels = ID
73report.custom_stop.description = Task id to feed to stop script
74report.custom_stop.filter = status:pending and +ACTIVE
75
70### contexts 76### contexts
71context.home = +@home or +@online 77context.home = +@home or +@online
72context.work = +@work or +@online 78context.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 @@
3snippet c "New Checking Transaction" b 3snippet 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
7endsnippet 7endsnippet
8 8
9snippet l "New Liabilities Transaction" b 9snippet 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
13endsnippet 13endsnippet
14 14
15snippet a "New Asmaalti Transaction" b 15snippet 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
19endsnippet 19endsnippet
20 20
21snippet y "New Yemeksepeti Transaction" b 21snippet 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
25endsnippet 25endsnippet
26 26
27snippet m "New Migros Transaction" b 27snippet 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
31endsnippet 31endsnippet
diff --git a/.zshrc b/.zshrc
index 624c508..82d3530 100644
--- a/.zshrc
+++ b/.zshrc
@@ -126,6 +126,7 @@ alias tp='trash-put'
126alias ls='exa' 126alias ls='exa'
127alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki' 127alias wim='nvim /home/yigit/Nextcloud/personal_wiki/index.wiki'
128alias ssh='TERM=xterm-256color ssh' 128alias ssh='TERM=xterm-256color ssh'
129alias torem='cd /home/yigit/Nextcloud/remind/'
129 130
130RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC 131RANGER_LOAD_DEFAULT_RC=FALSE; export RANGER_LOAD_DEFAULT_RC
131 132
@@ -159,3 +160,6 @@ function te {
159} 160}
160 161
161source /home/yigit/.config/broot/launcher/bash/br 162source /home/yigit/.config/broot/launcher/bash/br
163
164# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
165export PATH="$PATH:$HOME/.rvm/bin"