diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-20 23:46:53 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-20 23:46:53 +0100 |
| commit | 22fb4594ec830f0072e9f0b45bac3a5f19897987 (patch) | |
| tree | 08193e59edf0c883f8ea72e0fe64a627b4d6f36f | |
| parent | d4a917623ce4a8dc7e4feb2fa50407d33eb6c36f (diff) | |
| download | dotfiles-22fb4594ec830f0072e9f0b45bac3a5f19897987.tar.gz dotfiles-22fb4594ec830f0072e9f0b45bac3a5f19897987.tar.bz2 dotfiles-22fb4594ec830f0072e9f0b45bac3a5f19897987.zip | |
Switching back to solarized (weird bug when openning file with autocmd, takes 2/3 seconds), Added qutebrowser larouse search engine and blocking 3rd party cookies
| -rw-r--r-- | .vimrc | 20 | ||||
| -rw-r--r-- | .zsh_aliases | 1 | ||||
| -rwxr-xr-x | bin/tag-music | 2 | ||||
| -rwxr-xr-x | bin/touchpad-toggle | 7 | ||||
| -rw-r--r-- | qutebrowser/config.py | 3 |
5 files changed, 20 insertions, 13 deletions
@@ -84,24 +84,24 @@ set nofoldenable " not folded by default " colorscheme onedark " }}} " dracula {{{ -let g:dracula_bold = 1 -let g:dracula_italic = 1 -let g:dracula_colorterm = 0 -colorscheme dracula +" let g:dracula_bold = 1 +" let g:dracula_italic = 1 +" let g:dracula_colorterm = 0 +" colorscheme dracula " }}} " solarized {{{ -" set t_Co=16 -" let g:solarized_termcolors=16 -" let g:solarized_visibility='low' " visibility of invisible chars with set list -" set background=dark -" colorscheme solarized +set t_Co=16 +let g:solarized_termcolors=16 +let g:solarized_visibility='low' " visibility of invisible chars with set list +set background=dark +colorscheme solarized " }}} " lightline {{{ let g:lightline = {} " let g:lightline.colorscheme = 'solarized' " lightline theme to solarized " let g:lightline.colorscheme = 'jellybeans' " lightline theme to onedark let g:lightline = { - \ 'colorscheme': 'dracula', + \ 'colorscheme': 'solarized', \ 'active': { \ 'left': [ [ 'mode', 'paste' ], \ [ 'gitbranch', 'readonly', 'filename', 'modified' ] ] diff --git a/.zsh_aliases b/.zsh_aliases index adbb8f0..e94fd89 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -6,6 +6,7 @@ alias grep='grep --color=auto' alias tree='tree -C' alias pacman='pacman --color=auto' +alias yay='yay --color=auto' alias valgrindc='colour-valgrind' # common commands diff --git a/bin/tag-music b/bin/tag-music index e801132..826a83a 100755 --- a/bin/tag-music +++ b/bin/tag-music @@ -25,7 +25,7 @@ do song="$(echo "$song" | cut -d '-' -f 2-)" fi # echo $track $song - echo $song_file + # echo $song_file taffy --artist "$artist" --album "$album" --title "$song" --track "$track" "$song_file" done done diff --git a/bin/touchpad-toggle b/bin/touchpad-toggle index f0a86a1..e4dc959 100755 --- a/bin/touchpad-toggle +++ b/bin/touchpad-toggle @@ -4,6 +4,9 @@ touchpad_name='ETPS/2 Elantech Touchpad' active="$(xinput list-props "$touchpad_name" | grep 'Device Enabled' | cut -f 3)" -[ "$active" -eq 1 ] && - xinput disable "$touchpad_name" || +if [ "$active" -eq 1 ] +then + xinput disable "$touchpad_name" +else xinput enable "$touchpad_name" +fi diff --git a/qutebrowser/config.py b/qutebrowser/config.py index bad4e0d..827d2eb 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -29,6 +29,7 @@ c.url.searchengines = { 'gh': 'https://github.com/search?q={}', 'h': 'https://hoogle.haskell.org/?hoogle={}', 'cpp': 'http://cplusplus.com/search.do?q={}', + 'lar': 'https://www.larousse.fr/dictionnaires/francais/{}' } c.fonts.default_family = 'Fira Mono' @@ -62,10 +63,12 @@ c.colors.webpage.bg = 'black' # Disabling white flash before page lo # c.content.proxy = 'socks://localhost:9050/' # tor c.content.autoplay = False c.content.notifications = False +c.content.cookies.accept = 'no-3rdparty' c.auto_save.session = True c.session.lazy_restore = True + # base16-qutebrowser (https://github.com/theova/base16-qutebrowser) # Base16 qutebrowser template by theova # Solarized Dark scheme by Ethan Schoonover (modified by aramisgithub) |
