diff --git a/.Xresources b/.Xresources index f5c1999..72621fa 100644 --- a/.Xresources +++ b/.Xresources @@ -57,8 +57,7 @@ Xautolock.locker: i3lock-wrapper -e XTerm*reverseVideo: on XTerm*selectToClipboard: true -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.font: xft:xos4 Terminus:pixsize=16,xft:DejaVu Sans Mono:pixsize=16 !URxvt.letterSpace: -1 !URxvt.depth: 32 !URxvt.background: [100]#000000 @@ -209,6 +208,7 @@ URxvt.keysym.C-Up: resize-font:bigger URxvt.keysym.C-equal: resize-font:reset URxvt.keysym.C-question: resize-font:show URxvt.keysym.M-s: searchable-scrollback:start +URxvt.resize-font.step: 1 ! Base16 Eighties ! Scheme: Chris Kempson (http://chriskempson.com) diff --git a/.bashrc b/.bashrc index fd84442..4e3c296 100644 --- a/.bashrc +++ b/.bashrc @@ -14,10 +14,13 @@ export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFI export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch # Base16 Shell -BASE16_SHELL="$HOME/.config/base16-shell/" -[ -n "$PS1" ] && \ - [ -s "$BASE16_SHELL/profile_helper.sh" ] && \ - eval "$("$BASE16_SHELL/profile_helper.sh")" +if [[ -n "$DISPLAY" ]] +then + BASE16_SHELL="$HOME/.config/base16-shell/" + [ -n "$PS1" ] && \ + [ -s "$BASE16_SHELL/profile_helper.sh" ] && \ + eval "$("$BASE16_SHELL/profile_helper.sh")" +fi ## Reset Text_Reset='\e[0m' # Text Reset diff --git a/.config/conky/conkyrc1 b/.config/conky/conkyrc1 index ef32642..d9d7802 100644 --- a/.config/conky/conkyrc1 +++ b/.config/conky/conkyrc1 @@ -82,6 +82,10 @@ ${color2}${font2}Carte graphique $hr${font}${color} ${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}Système $hr$font$color${voffset 2} +Kernel${goto 140}$kernel +Uptime${goto 140}$uptime + ${color2}${font2}Espace disque $hr${font}${color} ${voffset 2}${template3 / /} diff --git a/.config/conky/conkyrc2 b/.config/conky/conkyrc2 index 8cd40ba..64f0eb3 100644 --- a/.config/conky/conkyrc2 +++ b/.config/conky/conkyrc2 @@ -81,10 +81,6 @@ GPU Conso${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-0900"."po GPU Ventilo${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-0900"."fan1"."fan1_input"'}>3000}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-0900"."fan1"."fan1_input"' | cut -d. -f1} RPM${color} Pièce${goto 140}${if_match ${execi 5 sensors -j | jq '."it8792-isa-0a60"."temp2"."temp2_input"'}>=25}${color F2777A}$endif${execi 5 sensors -j | jq '."it8792-isa-0a60"."temp2"."temp2_input"' | cut -d. -f1}°C${color} -${color2}${font2}Système $hr$font$color${voffset 2} -Kernel${goto 140}$kernel -Uptime${goto 140}$uptime - ${color2}${font2}Notes $hr$font$color${voffset 2} ${catp /home/breizh/notes} ]] diff --git a/.config/fish/config.fish b/.config/fish/config.fish index d7c3b80..60d096c 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -34,59 +34,10 @@ function config git --git-dir $HOME/.myconf --work-tree $HOME $argv end -function pdf_comp - pandoc -o $argv.pdf $argv.md - zathura $argv.pdf & - while true - inotifywait -e modify $argv.md - pandoc -o $argv.pdf $argv.md - or notify-send "pandoc" "Erreur de compilation" - end -end - -function dot_comp - dot -Tps2 $argv.dot | epstopdf --filter -o=$argv.pdf - zathura $argv.pdf & - while true - inotifywait -e modify $argv.dot - dot -Tps2 $argv.dot | epstopdf --filter -o=$argv.pdf - or notify-send "dot" "Erreur de compilation" - end -end - -function su - /usr/bin/su --shell /usr/bin/fish $argv -end - -function send_image - scp "$argv" breizh.me:/srv/files/Images/ -end - -function ranger - set tempfile (mktemp -t tmp.XXXXXX) - if test -n "$argv" - set argv $PWD - end - /usr/bin/ranger --choosedir="$tempfile" $argv - test -f $tempfile - and if test (cat "$tempfile") != (echo -n (pwd)) - cd (cat $tempfile) - end - rm -f -- "$tempfile" -end - function rm /usr/bin/rm -vI $argv end -function arch-vm-install - echo "type \"boot tftp://10.0.2.2/archlinux.ipxe\"" - qemu-system-x86_64 -enable-kvm -m 2G -hda VMs/arch_linux -netdev user,id=mynet0,tftp=Téléchargements/,bootfile=ipxe.pxe -device e1000,netdev=mynet0 -boot n; -end - -function arch-vm-start - qemu-system-x86_64 -enable-kvm -m 2G -hda VMs/arch_linux -netdev user,id=mynet0 -device e1000,netdev=mynet0; -end - - abbr sa ssh-add +abbr s systemctl +abbr S sudo systemctl diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 8616644..d7f4ccc 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -4,6 +4,9 @@ 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_S:sudo\x20systemctl +SETUVAR _fish_abbr_Ss:sudo\x20systemctl +SETUVAR _fish_abbr_s:systemctl SETUVAR _fish_abbr_sa:ssh\x2dadd SETUVAR _fish_abbr_up:yay\x20\x2dSyu SETUVAR fish_color_autosuggestion:555\x1ebrblack diff --git a/.config/htop/htoprc b/.config/htop/htoprc index cef0d94..7a1e405 100644 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -1,7 +1,7 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. fields=0 17 18 48 49 39 113 109 110 46 47 2 1 -sort_key=2 +sort_key=110 sort_direction=1 hide_threads=0 hide_kernel_threads=1 @@ -12,7 +12,7 @@ show_program_path=1 highlight_base_name=1 highlight_megabytes=1 highlight_threads=1 -tree_view=0 +tree_view=1 header_margin=1 detailed_cpu_time=1 cpu_count_from_zero=0 diff --git a/.config/i3/config b/.config/i3/config index 7ee9636..1d7e50f 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -52,7 +52,6 @@ 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 10 -#font xft:xos4 Terminus, DejaVu Sans Mono 14 #font xft:Terminus, DejaVu Sans Mono 12 # Use Mouse+$mod to drag floating windows @@ -128,7 +127,7 @@ bindsym $mod+Ctrl+b exec urxvtc -e bmenu bindsym $mod+F2 exec $BROWSER bindsym $mod+Shift+F2 exec $BROWSER -P tmp --no-remote #bindsym $mod+Ctrl+F2 exec surf "https://www.qwant.com?l=fr&h=1&hc=2&a=1&s=1&b=0&i=1&r=FR&sr=fr" -bindsym $mod+Ctrl+F2 exec chromium --incognito +bindsym $mod+Ctrl+F2 exec epiphany bindsym $mod+Ctrl+F3 exec pcmanfm bindsym $mod+F3 exec urxvtc -e bash -ic ranger bindsym $mod+F4 exec urxvtc -e bashmount diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 44fa2d2..1d8fcad 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -118,7 +118,7 @@ set preview_images_method w3m # Delay in seconds before displaying an image with the w3m method. # Increase it in case of experiencing display corruption. -set w3m_delay 0.02 +set w3m_delay 0.1 # Manually adjust the w3mimg offset when using a terminal which needs this set w3m_offset 0 @@ -238,7 +238,7 @@ set sort natural set sort_reverse false set sort_case_insensitive true set sort_directories_first true -set sort_unicode true +set sort_unicode false # Enable this if key combinations with the Alt Key don't work for you. # (Especially on xterm) @@ -319,6 +319,8 @@ set nested_ranger_warning true # Examples: # setlocal path=~/downloads sort mtime +setlocal path=~/mnt preview_max_size 52428800 +setlocal path=~/mnt preview_directories false # =================================================================== # == Command Aliases in the Console diff --git a/.config/youtube-dl/config b/.config/youtube-dl/config index 00ce87d..8dbff12 100644 --- a/.config/youtube-dl/config +++ b/.config/youtube-dl/config @@ -6,5 +6,5 @@ --write-sub #--hls-prefer-ffmpeg #--external-downloader axel -#--external-downloader-args "-x 4 -c" +#--external-downloader-args "-n 20" -f "((bestvideo[container=webm][height=1080]/bestvideo[ext=webm][height=1080]/bestvideo[height=1080]/bestvideo[container=webm][height>=?720]/bestvideo[ext=webm][height>=?720]/bestvideo[height>=?720]/bestvideo)+(bestaudio[container=webm]/bestaudio[ext=webm]/bestaudio))/best" diff --git a/.vim/.netrwhist b/.vim/.netrwhist index 44452b0..7220860 100644 --- a/.vim/.netrwhist +++ b/.vim/.netrwhist @@ -1,5 +1,6 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhistcnt =3 +let g:netrw_dirhistcnt =4 +let g:netrw_dirhist_4='/home/breizh/.config/fish' let g:netrw_dirhist_3='/home/breizh/.cache/dmenu-recent' let g:netrw_dirhist_2='/home/breizh/.mozilla/firefox/5i4s6px2.tmp' let g:netrw_dirhist_1='/home/breizh/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/Config'