From fa57449493ac2e6d74c76379e6864d6e3135dfa9 Mon Sep 17 00:00:00 2001 From: Breizh Date: Tue, 3 Mar 2020 21:09:37 +0100 Subject: [PATCH] =?UTF-8?q?M=C3=A0js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .Xresources | 2 +- .bash_profile | 2 +- .bashrc | 2 +- .config/conky/conkyrc1 | 4 ++-- .config/conky/conkyrc2 | 2 -- .config/fish/fish_variables | 2 ++ .config/fish/functions/cp.fish | 2 +- .config/fish/functions/man.fish | 4 ++-- .config/gtk-3.0/bookmarks | 2 ++ .config/gtk-3.0/settings.ini | 2 +- .config/htop/htoprc | 2 +- .config/i3/config | 6 ++---- .config/i3blocks/config | 3 +++ .local/bin/conky_radeon | 19 ------------------- .local/bin/testssl | 1 - .vim/config/settings.vim | 3 +-- .xscreensaver | 6 +++--- 17 files changed, 23 insertions(+), 41 deletions(-) delete mode 100755 .local/bin/conky_radeon delete mode 120000 .local/bin/testssl diff --git a/.Xresources b/.Xresources index 267f1e7..f5c1999 100644 --- a/.Xresources +++ b/.Xresources @@ -57,7 +57,7 @@ Xautolock.locker: i3lock-wrapper -e XTerm*reverseVideo: on XTerm*selectToClipboard: true -URxvt.font: xft:IBM Plex Mono:size=11,xft:DejaVu Sans Mono:size=11 +URxvt.font: xft:IBM Plex Mono:size=10,xft:DejaVu Sans Mono:size=10 !URxvt.font: xft:xos4 Terminus:pixsize=14,xft:DejaVu Sans Mono:pixsize=14 !URxvt.letterSpace: -1 !URxvt.depth: 32 diff --git a/.bash_profile b/.bash_profile index 00a5937..59d73b7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,7 +21,7 @@ if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then export XDG_CURRENT_DESKTOP=i3 export GTK2_RC_FILES="$HOME/.gtkrc-2.0" export QT_QPA_PLATFORMTHEME=qt5ct - export BROWSER="firefox" + export BROWSER="firefox-developer-edition" export TERMINAL=urxvtc export DMENU_OPTIONS="-nb #2d2d2d -nf #747369 -sb #6699cc -sf #2d2d2d" startx diff --git a/.bashrc b/.bashrc index 22e9918..bc85046 100644 --- a/.bashrc +++ b/.bashrc @@ -281,7 +281,7 @@ alias news='newsbeuter' alias meteo='curl -H "Accept-Language: fr" wttr.in/Nantes' alias moon='curl -H "Accept-Language: fr" wttr.in/Moon' -. /usr/share/doc/ranger/examples/bash_automatic_cd.sh +. /usr/share/doc/ranger/examples/shell_automatic_cd.sh #eval $(thefuck --alias) diff --git a/.config/conky/conkyrc1 b/.config/conky/conkyrc1 index a561690..ee7bd36 100644 --- a/.config/conky/conkyrc1 +++ b/.config/conky/conkyrc1 @@ -76,8 +76,8 @@ ${template2 4} ${template2 5} ${color2}${font2}Carte graphique $hr${font}${color} -${voffset 2}GPU${goto 140}${texeci 3 conky_radeon} -VRAM: ${texeci 3 conky_radeon vram mb}${goto 140}${texeci 3 conky_radeon vram} +${voffset 2}GPU${goto 140}${texeci 3 conky_radeon}% +VRAM: ${texeci 3 conky_radeon vram mb}M${goto 140}${texeci 3 conky_radeon vram}% ${color2}${font2}Espace disque $hr${font}${color} ${voffset 2}${template3 / /} diff --git a/.config/conky/conkyrc2 b/.config/conky/conkyrc2 index ff40b8d..1c64ae0 100644 --- a/.config/conky/conkyrc2 +++ b/.config/conky/conkyrc2 @@ -86,6 +86,4 @@ Uptime${goto 140}$uptime ${color2}${font2}Notes $hr$font$color${voffset 2} ${catp /home/breizh/notes} - -#${color2}${font2}$hr${font}${color} ]] diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 26d1295..8616644 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -3,6 +3,7 @@ SETUVAR __fish_classic_git_prompt_initialized:\x1d SETUVAR __fish_init_2_39_8:\x1d SETUVAR __fish_init_2_3_0:\x1d +SETUVAR __fish_initialized:3100 SETUVAR _fish_abbr_sa:ssh\x2dadd SETUVAR _fish_abbr_up:yay\x20\x2dSyu SETUVAR fish_color_autosuggestion:555\x1ebrblack @@ -16,6 +17,7 @@ SETUVAR fish_color_error:brred SETUVAR fish_color_escape:bryellow\x1e\x2d\x2dbold SETUVAR fish_color_history_current:\x2d\x2dbold SETUVAR fish_color_host:normal +SETUVAR fish_color_host_remote:yellow SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue SETUVAR fish_color_normal:normal SETUVAR fish_color_operator:bryellow diff --git a/.config/fish/functions/cp.fish b/.config/fish/functions/cp.fish index 2fd3cc7..57dea9a 100644 --- a/.config/fish/functions/cp.fish +++ b/.config/fish/functions/cp.fish @@ -1,4 +1,4 @@ # Defined in - @ line 1 function cp --description 'alias cp advcp -g' - advcp -g $argv; + advcp -g --reflink=auto $argv; end diff --git a/.config/fish/functions/man.fish b/.config/fish/functions/man.fish index 1685461..f12af93 100644 --- a/.config/fish/functions/man.fish +++ b/.config/fish/functions/man.fish @@ -1,10 +1,10 @@ function man set -x LESS_TERMCAP_mb (tput blink) - set -x LESS_TERMCAP_md (tput bold)(tput setaf 1) + set -x LESS_TERMCAP_md (tput bold) set -x LESS_TERMCAP_me (tput sgr0) set -x LESS_TERMCAP_so (tput smso) set -x LESS_TERMCAP_se (tput rmso) - set -x LESS_TERMCAP_us (tput sitm)(tput setaf 2) + set -x LESS_TERMCAP_us (tput sitm) set -x LESS_TERMCAP_ue (tput sgr0) set -x MANWIDTH (tput cols) test $MANWIDTH -gt 80; and set -x MANWIDTH 80 diff --git a/.config/gtk-3.0/bookmarks b/.config/gtk-3.0/bookmarks index 03c2ed6..8ed8f2d 100644 --- a/.config/gtk-3.0/bookmarks +++ b/.config/gtk-3.0/bookmarks @@ -1,3 +1,4 @@ +file:///home/breizh/.minecraft file:///home/breizh/Documents Documents file:///home/breizh/Images Images file:///home/breizh/Musique Musique @@ -5,3 +6,4 @@ file:///home/breizh/Vid%C3%A9os Vidéos file:///home/breizh/T%C3%A9l%C3%A9chargements Téléchargements file:///tmp tmp file:///home/breizh/Screenshots Screenshots +file:///home/breizh/.wine/drive_c drive_c diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini index 2c8c356..c0f2410 100644 --- a/.config/gtk-3.0/settings.ini +++ b/.config/gtk-3.0/settings.ini @@ -2,7 +2,7 @@ gtk-application-prefer-dark-theme=false gtk-theme-name=Vertex-Dark gtk-icon-theme-name=Vertex-Icons -gtk-font-name=IBM Plex Sans +gtk-font-name=IBM Plex Sans 10 gtk-button-images=1 gtk-menu-images=1 gtk-enable-event-sounds=1 diff --git a/.config/htop/htoprc b/.config/htop/htoprc index dc6b46b..cef0d94 100644 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -12,7 +12,7 @@ show_program_path=1 highlight_base_name=1 highlight_megabytes=1 highlight_threads=1 -tree_view=1 +tree_view=0 header_margin=1 detailed_cpu_time=1 cpu_count_from_zero=0 diff --git a/.config/i3/config b/.config/i3/config index 7dd47a9..7d8b999 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -51,7 +51,7 @@ bindsym $mod+n border normal 1 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. -font xft:IBM Plex Sans, DejaVu Sans 11 +font xft:IBM Plex Sans, DejaVu Sans 10 #font xft:xos4 Terminus, DejaVu Sans Mono 14 #font xft:Terminus, DejaVu Sans Mono 12 @@ -310,7 +310,6 @@ for_window [class="(?i)variety"] floating enable for_window [class="Yad"] floating enable #for_window [class="firefox"] border pixel 1 for_window [title="(?i)pinentry"] floating enable -for_window [title="(?i)Minecraft"] border none # switch to workspace with urgent window automatically for_window [urgent=latest] focus for_window [title="dclock"] floating enable border pixel 1 @@ -378,7 +377,6 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # exec_always --no-startup-id sbxkb exec --no-startup-id conky --config "$HOME/.config/conky/conkyrc1" exec --no-startup-id conky --config "$HOME/.config/conky/conkyrc2" -exec --no-startup-id conky --config "$HOME/.config/conky/conkyrc3" #exec --no-startup-id xscreensaver -no-splash exec_always --no-startup-id setcursor exec claws-mail --online @@ -416,7 +414,7 @@ bar { bindsym button5 nop # font -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 # font xft:IBM Plex Mono, DejaVu Sans Mono 11 - font xft:Terminus, DejaVu Sans Mono 12 + font xft:Terminus, DejaVu Sans Mono 10 strip_workspace_numbers yes colors { diff --git a/.config/i3blocks/config b/.config/i3blocks/config index f509fe0..c9cc079 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -186,6 +186,9 @@ signal=10 # # bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks # bindsym --release Num_Lock exec pkill -SIGRTMIN+12 i3blocks +[dunst] +interval=once + [beep] interval=once signal=14 diff --git a/.local/bin/conky_radeon b/.local/bin/conky_radeon deleted file mode 100755 index 693c39a..0000000 --- a/.local/bin/conky_radeon +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# Exemple (par défaut si aucun argument donné) -# ./conky_radeon gpu perc -# Autre exemple -# ./conky_radeon vram mb - -stats=$(sudo radeontop -d- -l1) -#stats=$(cat /dev/shm/radeontop | tail -n 1 | tr -d '\n') - -perc() { - echo "$stats" | grep -Eo "$1 [0-9.]{3,5}%" | cut -d' ' -f2 -} - -mb() { - echo "$stats" | grep -Eo "$1 [0-9.]{3,5}% [0-9.]+mb" | cut -d' ' -f3 | sed 's/mb/M/g' -} - -echo "$(${2:-perc} ${1:-gpu})" diff --git a/.local/bin/testssl b/.local/bin/testssl deleted file mode 120000 index 0e422ee..0000000 --- a/.local/bin/testssl +++ /dev/null @@ -1 +0,0 @@ -/home/breizh/git/testssl.sh/testssl.sh \ No newline at end of file diff --git a/.vim/config/settings.vim b/.vim/config/settings.vim index 6cf0964..070a125 100644 --- a/.vim/config/settings.vim +++ b/.vim/config/settings.vim @@ -10,8 +10,7 @@ set textwidth=79 set colorcolumn=+2 nnoremap :set hlsearch! let g:vimtex_view_method = 'zathura' -let g:table_mode_corner_corner='+' -let g:table_mode_header_fillchar='=' +let g:table_mode_corner='|' let g:grammalecte_cli_py='/usr/bin/grammalecte-cli.py' if filereadable(expand("~/.vimrc_background")) if &t_Co >= 256 diff --git a/.xscreensaver b/.xscreensaver index 3bf9696..ab75b34 100644 --- a/.xscreensaver +++ b/.xscreensaver @@ -1,5 +1,5 @@ # XScreenSaver Preferences File -# Written by xscreensaver-demo 5.43 for breizh on Thu Nov 28 21:22:13 2019. +# Written by xscreensaver-demo 5.43 for breizh on Sun Feb 23 16:34:34 2020. # https://www.jwz.org/xscreensaver/ timeout: 0:15:00 @@ -143,7 +143,7 @@ programs: \ - GL: dnalogo -root \n\ GL: engine -root -titles \n\ GL: flipscreen3d -root \n\ - GL: gltext -root -text '%A%n%d %b %Y%n%r' \n\ +- GL: gltext -root \n\ GL: menger -root \n\ GL: molecule -root -no-labels -no-shells \n\ rotzoomer -root \n\ @@ -222,7 +222,7 @@ programs: \ GL: crackberg -root \n\ GL: cube21 -root \n\ - fiberlamp -root \n\ - GL: fliptext -root \n\ + GL: fliptext -root -alignment left \n\ GL: glhanoi -root \n\ GL: tangram -root \n\ - GL: timetunnel -root \n\