Diverses modifs
This commit is contained in:
parent
355ceb37d6
commit
cbd2fc7e1d
11 changed files with 28 additions and 69 deletions
|
@ -57,8 +57,7 @@ Xautolock.locker: i3lock-wrapper -e
|
||||||
XTerm*reverseVideo: on
|
XTerm*reverseVideo: on
|
||||||
XTerm*selectToClipboard: true
|
XTerm*selectToClipboard: true
|
||||||
|
|
||||||
URxvt.font: xft:IBM Plex Mono:size=10,xft:DejaVu Sans Mono:size=10
|
URxvt.font: xft:xos4 Terminus:pixsize=16,xft:DejaVu Sans Mono:pixsize=16
|
||||||
!URxvt.font: xft:xos4 Terminus:pixsize=14,xft:DejaVu Sans Mono:pixsize=14
|
|
||||||
!URxvt.letterSpace: -1
|
!URxvt.letterSpace: -1
|
||||||
!URxvt.depth: 32
|
!URxvt.depth: 32
|
||||||
!URxvt.background: [100]#000000
|
!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-equal: resize-font:reset
|
||||||
URxvt.keysym.C-question: resize-font:show
|
URxvt.keysym.C-question: resize-font:show
|
||||||
URxvt.keysym.M-s: searchable-scrollback:start
|
URxvt.keysym.M-s: searchable-scrollback:start
|
||||||
|
URxvt.resize-font.step: 1
|
||||||
|
|
||||||
! Base16 Eighties
|
! Base16 Eighties
|
||||||
! Scheme: Chris Kempson (http://chriskempson.com)
|
! Scheme: Chris Kempson (http://chriskempson.com)
|
||||||
|
|
11
.bashrc
11
.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
|
export GIT_PS1_SHOWUPSTREAM=verbose GIT_PS1_DESCRIBE_STYLE=branch
|
||||||
|
|
||||||
# Base16 Shell
|
# Base16 Shell
|
||||||
BASE16_SHELL="$HOME/.config/base16-shell/"
|
if [[ -n "$DISPLAY" ]]
|
||||||
[ -n "$PS1" ] && \
|
then
|
||||||
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
|
BASE16_SHELL="$HOME/.config/base16-shell/"
|
||||||
eval "$("$BASE16_SHELL/profile_helper.sh")"
|
[ -n "$PS1" ] && \
|
||||||
|
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
|
||||||
|
eval "$("$BASE16_SHELL/profile_helper.sh")"
|
||||||
|
fi
|
||||||
|
|
||||||
## Reset
|
## Reset
|
||||||
Text_Reset='\e[0m' # Text Reset
|
Text_Reset='\e[0m' # Text Reset
|
||||||
|
|
|
@ -82,6 +82,10 @@ ${color2}${font2}Carte graphique $hr${font}${color}
|
||||||
${voffset 2}GPU${goto 140}${texeci 3 conky_radeon}%
|
${voffset 2}GPU${goto 140}${texeci 3 conky_radeon}%
|
||||||
VRAM: ${texeci 3 conky_radeon vram mb}M${goto 140}${texeci 3 conky_radeon vram}%
|
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}
|
${color2}${font2}Espace disque $hr${font}${color}
|
||||||
${voffset 2}${template3 / /}
|
${voffset 2}${template3 / /}
|
||||||
|
|
||||||
|
|
|
@ -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}
|
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}
|
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}
|
${color2}${font2}Notes $hr$font$color${voffset 2}
|
||||||
${catp /home/breizh/notes}
|
${catp /home/breizh/notes}
|
||||||
]]
|
]]
|
||||||
|
|
|
@ -34,59 +34,10 @@ function config
|
||||||
git --git-dir $HOME/.myconf --work-tree $HOME $argv
|
git --git-dir $HOME/.myconf --work-tree $HOME $argv
|
||||||
end
|
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
|
function rm
|
||||||
/usr/bin/rm -vI $argv
|
/usr/bin/rm -vI $argv
|
||||||
end
|
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 sa ssh-add
|
||||||
|
abbr s systemctl
|
||||||
|
abbr S sudo systemctl
|
||||||
|
|
|
@ -4,6 +4,9 @@ SETUVAR __fish_classic_git_prompt_initialized:\x1d
|
||||||
SETUVAR __fish_init_2_39_8:\x1d
|
SETUVAR __fish_init_2_39_8:\x1d
|
||||||
SETUVAR __fish_init_2_3_0:\x1d
|
SETUVAR __fish_init_2_3_0:\x1d
|
||||||
SETUVAR __fish_initialized:3100
|
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_sa:ssh\x2dadd
|
||||||
SETUVAR _fish_abbr_up:yay\x20\x2dSyu
|
SETUVAR _fish_abbr_up:yay\x20\x2dSyu
|
||||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
# The parser is also very primitive, and not human-friendly.
|
# The parser is also very primitive, and not human-friendly.
|
||||||
fields=0 17 18 48 49 39 113 109 110 46 47 2 1
|
fields=0 17 18 48 49 39 113 109 110 46 47 2 1
|
||||||
sort_key=2
|
sort_key=110
|
||||||
sort_direction=1
|
sort_direction=1
|
||||||
hide_threads=0
|
hide_threads=0
|
||||||
hide_kernel_threads=1
|
hide_kernel_threads=1
|
||||||
|
@ -12,7 +12,7 @@ show_program_path=1
|
||||||
highlight_base_name=1
|
highlight_base_name=1
|
||||||
highlight_megabytes=1
|
highlight_megabytes=1
|
||||||
highlight_threads=1
|
highlight_threads=1
|
||||||
tree_view=0
|
tree_view=1
|
||||||
header_margin=1
|
header_margin=1
|
||||||
detailed_cpu_time=1
|
detailed_cpu_time=1
|
||||||
cpu_count_from_zero=0
|
cpu_count_from_zero=0
|
||||||
|
|
|
@ -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
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
font xft:IBM Plex Sans, DejaVu Sans 10
|
font xft:IBM Plex Sans, DejaVu Sans 10
|
||||||
#font xft:xos4 Terminus, DejaVu Sans Mono 14
|
|
||||||
#font xft:Terminus, DejaVu Sans Mono 12
|
#font xft:Terminus, DejaVu Sans Mono 12
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows
|
# 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+F2 exec $BROWSER
|
||||||
bindsym $mod+Shift+F2 exec $BROWSER -P tmp --no-remote
|
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 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+Ctrl+F3 exec pcmanfm
|
||||||
bindsym $mod+F3 exec urxvtc -e bash -ic ranger
|
bindsym $mod+F3 exec urxvtc -e bash -ic ranger
|
||||||
bindsym $mod+F4 exec urxvtc -e bashmount
|
bindsym $mod+F4 exec urxvtc -e bashmount
|
||||||
|
|
|
@ -118,7 +118,7 @@ set preview_images_method w3m
|
||||||
|
|
||||||
# Delay in seconds before displaying an image with the w3m method.
|
# Delay in seconds before displaying an image with the w3m method.
|
||||||
# Increase it in case of experiencing display corruption.
|
# 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
|
# Manually adjust the w3mimg offset when using a terminal which needs this
|
||||||
set w3m_offset 0
|
set w3m_offset 0
|
||||||
|
@ -238,7 +238,7 @@ set sort natural
|
||||||
set sort_reverse false
|
set sort_reverse false
|
||||||
set sort_case_insensitive true
|
set sort_case_insensitive true
|
||||||
set sort_directories_first 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.
|
# Enable this if key combinations with the Alt Key don't work for you.
|
||||||
# (Especially on xterm)
|
# (Especially on xterm)
|
||||||
|
@ -319,6 +319,8 @@ set nested_ranger_warning true
|
||||||
|
|
||||||
# Examples:
|
# Examples:
|
||||||
# setlocal path=~/downloads sort mtime
|
# setlocal path=~/downloads sort mtime
|
||||||
|
setlocal path=~/mnt preview_max_size 52428800
|
||||||
|
setlocal path=~/mnt preview_directories false
|
||||||
|
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
# == Command Aliases in the Console
|
# == Command Aliases in the Console
|
||||||
|
|
|
@ -6,5 +6,5 @@
|
||||||
--write-sub
|
--write-sub
|
||||||
#--hls-prefer-ffmpeg
|
#--hls-prefer-ffmpeg
|
||||||
#--external-downloader axel
|
#--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"
|
-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"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
let g:netrw_dirhistmax =10
|
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_3='/home/breizh/.cache/dmenu-recent'
|
||||||
let g:netrw_dirhist_2='/home/breizh/.mozilla/firefox/5i4s6px2.tmp'
|
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'
|
let g:netrw_dirhist_1='/home/breizh/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/Config'
|
||||||
|
|
Loading…
Reference in a new issue