Update configuration

This commit is contained in:
Sergey 2021-10-11 11:18:48 +04:00
parent f8f6bd4616
commit 802f0166ed
10 changed files with 100 additions and 5 deletions

28
config/fd/ignore Normal file
View File

@ -0,0 +1,28 @@
*.swp
.bundle/
.vim/
npm-debug.log
vendor/bundle/
vendor/cache/
.sass-cache/
node_modules/
yarn-error.log
.env.local
*.gem
.pgsync.yml
stats.json
tags
.ctags.d/
.direnv/
*.pid
*.sock
report*.json
.clinic/
.elixir_ls/
_build/
deps/
priv/static

View File

@ -3,7 +3,7 @@
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=47
sort_direction=1
tree_sort_key=47
tree_sort_key=46
tree_sort_direction=1
hide_kernel_threads=0
hide_userland_threads=0

View File

@ -45,8 +45,10 @@ for_window [class="(?i)discord"] move container to workspace $ws2
for_window [class="mpv"] floating enable
for_window [class="(?i)zooout"] floating enable
for_window [class="(?i)qjackctl"] move container to workspace $ws5 floating enable
for_window [class="(?i)cadence"] move container to workspace $ws5 floating enable
for_window [class="(?i)qjackctl"] move container to workspace $ws7 floating enable
for_window [class="(?i)cadence"] move container to workspace $ws7 floating enable
for_window [class="(?i)reaper"] move container to workspace $ws7
for_window [class="(?i)renoise"] move container to workspace $ws7
for_window [class="(?i)uvi"] floating enable
for_window [class="(?i)arturia"] floating enable
for_window [class="(?i)ilok"] floating enable

View File

@ -16,6 +16,7 @@
"highlight.disableLanguages": ["slim", "md"],
"coc.source.omni.filetypes": [],
"coc.source.omni.enable": false,
"tailwindCSS.emmetCompletions": true,
"languageserver": {
"golang": {
"command": "gopls",

View File

@ -31,6 +31,10 @@ Plug 'fatih/vim-go'
Plug 'Glench/Vim-Jinja2-Syntax'
Plug 'HerringtonDarkholme/yats.vim'
" Elixir
Plug 'elixir-editors/vim-elixir'
Plug 'mhinz/vim-mix-format'
Plug 'tomtom/tcomment_vim'
Plug 'majutsushi/tagbar', { 'on': 'TagbarToggle' }
@ -362,7 +366,7 @@ highlight link GitGutterAddLineNr GitGutterAddLine
highlight link GitGutterDeleteLineNr GitGutterDeleteLine
" fzf
let $FZF_DEFAULT_COMMAND="fd --type file --full-path -c never -H -E node_modules -E vendor -E public -E tmp -E log -E .git -E .hg -E .svn -E '*.min.js' -E '*.log' -E '.keep'"
let $FZF_DEFAULT_COMMAND="fd --type file --full-path -c never -H"
silent! nmap <C-p> :Files<CR>

47
config/redshift.conf Normal file
View File

@ -0,0 +1,47 @@
[redshift]
; Set the day and night screen temperatures
temp-day=6500
temp-night=4500
; Enable/Disable a smooth transition between day and night
; 0 will cause a direct change from day to night screen temperature.
; 1 will gradually increase or decrease the screen temperature
transition=1
; Set the screen brightness. Default is 1.0
;brightness=0.9
; It is also possible to use different settings for day and night since version 1.8.
;brightness-day=0.7
brightness-night=0.7
; Set the screen gamma (for all colors, or each color channel individually)
;gamma=0.9
gamma-night=0.9
;gamma=0.8:0.7:0.8
; Set the location-provider: 'geoclue', 'gnome-clock', 'manual'
; type 'redshift -l list' to see possible values
; The location provider settings are in a different section.
location-provider=manual
; Set the adjustment-method: 'randr', 'vidmode'
; type 'redshift -m list' to see all possible values
; 'randr' is the preferred method, 'vidmode' is an older API
; but works in some cases when 'randr' does not.
; The adjustment method settings are in a different section.
adjustment-method=randr
; Configuration of the location-provider:
; type 'redshift -l PROVIDER:help' to see the settings
; e.g. 'redshift -l manual:help'
[manual]
lat=41.70565241961369
lon=44.77003519848199
; Configuration of the adjustment-method
; type 'redshift -m METHOD:help' to see the settings
; ex: 'redshift -m randr:help'
; In this example, randr is configured to adjust screen 1.
; Note that the numbering starts from 0, so this is actually the second screen.
[randr]
screen=0

5
config/redshift/hooks Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
case $1 in
period-changed)
exec notify-send "Redshift" "Period changed to $3"
esac

View File

@ -21,3 +21,5 @@ tags
report*.json
.clinic/
/.elixir_ls/

View File

@ -2,3 +2,8 @@ vendor/bundle
.git/
.import/
target/debug/
.elixir_ls/
_build/
deps/
node_modules/
priv/static

3
xinitrc Normal file → Executable file
View File

@ -27,4 +27,5 @@ xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
# exec ck-launch-session dbus-launch
xrdb -merge ~/.Xresources
exec i3 > $HOME/log/i3.txt 2>&1
exec dbus-launch --exit-with-session i3 > $HOME/log/i3.txt 2>&1