From be3f7a031897a7b94a0c94f21be823c6c61fdacd Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Wed, 14 Jun 2017 18:26:55 +0200 Subject: [PATCH 1/5] Whooops Security by obscurity is never the solution, especially if you're not very enlightened... --- config/i3/config | 2 +- config/qutebrowser/qutebrowser.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/i3/config b/config/i3/config index 5da53bb..092b4cd 100644 --- a/config/i3/config +++ b/config/i3/config @@ -102,7 +102,7 @@ bindsym $mod+Shift+l move right #bindsym $mod+Shift+Right move right # workspace back and forth (with/without active container) -workspace_auto_back_and_forth yes +workspace_auto_back_and_forth no bindsym $mod+b workspace back_and_forth bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth diff --git a/config/qutebrowser/qutebrowser.conf b/config/qutebrowser/qutebrowser.conf index 1d9b006..64d282d 100644 --- a/config/qutebrowser/qutebrowser.conf +++ b/config/qutebrowser/qutebrowser.conf @@ -174,7 +174,7 @@ # Valid values: host, path, query, anchor # Default: path,query ignore-case = smart -startpage = https://geoffrey.frogeye.fr/home.php?eo46hQ7nc9mFMapvuWUyOOm8Ld86eh +startpage = https://geoffrey.frogeye.fr/home.php yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content default-open-dispatcher = default-page = ${startpage} From d419726ba6160302b4508116ac2408ef4fcc4c4a Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Wed, 21 Jun 2017 20:02:03 +0200 Subject: [PATCH 2/5] rep rep rep --- scripts/install-prefs | 2 +- scripts/rep | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 scripts/rep diff --git a/scripts/install-prefs b/scripts/install-prefs index 33f4601..e0960d2 100755 --- a/scripts/install-prefs +++ b/scripts/install-prefs @@ -250,7 +250,7 @@ if [ $GUI == 1 ]; then rm -rf $TMP_DIR elif [ $ARCH == 1 ]; then - altInst qutebrowser + inst qutebrowser qt5-webengine fi # Screen filter diff --git a/scripts/rep b/scripts/rep new file mode 100644 index 0000000..217c415 --- /dev/null +++ b/scripts/rep @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +mv "$1" "$2" +ln -s "$2" "$1" From 1d0147c8fe36128a17d3d5aeb009030ce79c186c Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Wed, 21 Jun 2017 20:05:05 +0200 Subject: [PATCH 3/5] Old bash --- bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 784433b..0de3cba 100644 --- a/bashrc +++ b/bashrc @@ -115,7 +115,7 @@ export PATH="$HOME/.scripts/:$PATH" [ -f /etc/bash_completion ] && . /etc/bash_completion # Bad day mood-saver -fuck() { +function fuck { if which thefuck &> /dev/null then eval $(thefuck --alias) @@ -127,7 +127,7 @@ fuck() { alias FUCK='fuck' # Node Version Manager -nvm() { +function nvm { if [ -s "$NVM_DIR/nvm.sh" ] then . "$NVM_DIR/nvm.sh" From d11432643fbcc53db19f25fa4dadcee2fd2dfa65 Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Wed, 21 Jun 2017 20:06:36 +0200 Subject: [PATCH 4/5] +x --- scripts/rep | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts/rep diff --git a/scripts/rep b/scripts/rep old mode 100644 new mode 100755 From b44b414829a8613fb75630f116fe4f486f64cf64 Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Tue, 27 Jun 2017 08:14:12 +0200 Subject: [PATCH 5/5] Thingies --- bashrc | 2 -- inputrc | 36 +++++++++++++++++++++++++++--------- scripts/install-prefs | 2 +- vimrc | 2 +- 4 files changed, 29 insertions(+), 13 deletions(-) diff --git a/bashrc b/bashrc index 0de3cba..ba88ae3 100644 --- a/bashrc +++ b/bashrc @@ -46,8 +46,6 @@ alias dmesg='dmesg --ctime' # Frequent mistakes alias systemclt=systemctl -alias docker='sudo docker' -alias docker-compose='sudo docker-compose' # Shortcuts for commonly used commands alias ll="ls -l $LS_OPTIONS" diff --git a/inputrc b/inputrc index c95c889..9f4f421 100644 --- a/inputrc +++ b/inputrc @@ -1,16 +1,34 @@ $include /etc/inputrc +set bell-style none +set completion-ignore-case on +set completion-prefix-display-length 4 +set completion-query-items 200 set editing-mode vi +set history-preserve-point on +set history-size 10000 +set horizontal-scroll-mode on +set mark-directories on +set mark-modified-lines off +set mark-symlinked-directories on +set match-hidden-files on +set page-completions on +set print-completions-horizontally on +set revert-all-at-newline off set show-all-if-ambiguous on +set show-all-if-unmodified on +set skip-completed-text on set visible-stats on -set page-completions off + $if mode=vi -set keymap vi-command -# these are for vi-command mode -"\e[A": history-search-backward -"\e[B": history-search-forward -set keymap vi-insert -# these are for vi-insert mode -"\e[A": history-search-backward -"\e[B": history-search-forward + set keymap vi-command + # these are for vi-command mode + "\e[A": history-search-backward + "\e[B": history-search-forward + Control-l: clear-screen + set keymap vi-insert + # these are for vi-insert mode + "\e[A": history-search-backward + "\e[B": history-search-forward + Control-l: clear-screen $endif diff --git a/scripts/install-prefs b/scripts/install-prefs index e0960d2..68fadb7 100755 --- a/scripts/install-prefs +++ b/scripts/install-prefs @@ -280,7 +280,7 @@ if [ $EXTRA == 1 ]; then inst sl ffmpeg youtube-dl if [ $ARCH == 1 ]; then - altInst pdftk translate-shell git-lfs js-beautify + altInst pdftk translate-shell git-lfs js-beautify insect fi # Extra GUI diff --git a/vimrc b/vimrc index 9f319f7..b4a254c 100644 --- a/vimrc +++ b/vimrc @@ -44,7 +44,7 @@ nmap :UndotreeToggle:UndotreeFocus """ CTRLP """ let g:ctrlp_custom_ignore = { - \ 'dir': '\v([\/]\.(git|hg|svn)|node_modules|bower_components|__pycache__|vendor|output)$', + \ 'dir': '\v([\/]\.(git|hg|svn)|node_modules|bower_components|__pycache__|vendor|output|buildroot)$', \ 'file': '\v\.(exe|so|dll)$', \ 'link': 'SOME_BAD_SYMBOLIC_LINKS', \ }