diff --git a/.Xresources b/.Xresources index 1495747..d0c5cdc 100644 --- a/.Xresources +++ b/.Xresources @@ -56,8 +56,8 @@ Xautolock.locker: i3lock-wrapper -e XTerm*reverseVideo: on XTerm*selectToClipboard: true -URxvt.font: xft:xos4 Terminus,xft:DejaVu Sans Mono -!URxvt.font: xft:Latin Modern Mono:size=12, xft:xos4 Terminus +URxvt.font: xft:xos4 Terminus,xft:DejaVu Sans Mono,xft:Noto Sans +!URxvt.font: xft:Latin Modern Mono:size=12, xft:xos4 Terminus, xft:DejaVu Sans Mono !URxvt.letterSpace: 1.5 URxvt.depth: 32 !URxvt.background: [100]#000000 @@ -73,6 +73,7 @@ URxvt*saveLines: 0 !URxvt*inheritPixmap: true URxvt*transparent: true URxvt*shading: 25 +!URxvt*blurRadius: 24x24 ! other possible settings: ! Rxvt.perl-ext-common: ...,clipboard diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 90521da..e9b25b7 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -85,7 +85,8 @@ ### Text ### - font = xos4 Terminus 10 + # font = xos4 Terminus 10 + font = Linux Libertine 10 # The spacing between lines. If the height is smaller than the # font height, it will get raised to the font height. @@ -237,50 +238,36 @@ # On the US keyboard layout "grave" is normally above TAB and left # of "1". Make sure this key actually exists on your keyboard layout, # e.g. check output of 'xmodmap -pke' - history = ctrl+grave + history = ctrl+twosuperior # Context menu. - context = ctrl+shift+period - -#[urgency_low] -# # IMPORTANT: colors have to be defined in quotation marks. -# # Otherwise the "#" and following would be interpreted as a comment. -# background = "#222222" -# foreground = "#888888" -# timeout = 10 -# # Icon for notifications with low urgency, uncomment to enable -# #icon = /path/to/icon -# -#[urgency_normal] -# background = "#285577" -# foreground = "#ffffff" -# timeout = 10 -# # Icon for notifications with normal urgency, uncomment to enable -# #icon = /path/to/icon -# -#[urgency_critical] -# background = "#900000" -# foreground = "#ffffff" -# frame_color = "#ff0000" -# timeout = 0 -# # Icon for notifications with critical urgency, uncomment to enable -# #icon = /path/to/icon - -# vim: filetype=yaml -# dunst template -# Base16 Eighties Dark, by Chris Kempson (http://chriskempson.com) + context = ctrl+shift+twosuperior [urgency_low] - background = "#393939" - foreground = "#a09f93" + # IMPORTANT: colors have to be defined in quotation marks. + # Otherwise the "#" and following would be interpreted as a comment. + background = "#2D2D2D" + foreground = "#D3D0C8" + frame_color = "#A09F93" + timeout = 10 + # Icon for notifications with low urgency, uncomment to enable + #icon = /path/to/icon [urgency_normal] - background = "#2d2d2d" - foreground = "#d3d0c8" + background = "#2D2D2D" + foreground = "#D3D0C8" + frame_color = "#6699CC" + timeout = 15 + # Icon for notifications with normal urgency, uncomment to enable + #icon = /path/to/icon [urgency_critical] - background = "#2d2d2d" - foreground = "#f2777a" + background = "#2D2D2D" + foreground = "#D3D0C8" + frame_color = "#F2777A" + timeout = 0 + # Icon for notifications with critical urgency, uncomment to enable + #icon = /path/to/icon # Every section that isn't one of the above is interpreted as a rules to # override settings for certain messages. diff --git a/.config/gtk-2.0/gtkfilechooser.ini b/.config/gtk-2.0/gtkfilechooser.ini index a3a2f7f..51d4c01 100644 --- a/.config/gtk-2.0/gtkfilechooser.ini +++ b/.config/gtk-2.0/gtkfilechooser.ini @@ -2,8 +2,8 @@ LocationMode=path-bar ShowHidden=false ShowSizeColumn=true -GeometryX=996 -GeometryY=246 +GeometryX=1668 +GeometryY=542 GeometryWidth=887 GeometryHeight=585 SortColumn=name diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini index 1666b16..056a04c 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=xos4 Terminus +gtk-font-name=Linux Biolinum 10 gtk-button-images=1 gtk-menu-images=1 gtk-enable-event-sounds=1 diff --git a/.config/i3/config b/.config/i3/config index 49479a0..c5fab23 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -41,7 +41,7 @@ new_window normal 1 new_float normal 1 # Hide borders -hide_edge_borders none +hide_edge_borders smart # change borders bindsym $mod+u border none @@ -51,6 +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:xos4 Terminus +# font xft:Linux Biolinum 11 # Use Mouse+$mod to drag floating windows floating_modifier $mod @@ -94,6 +95,7 @@ bindsym $mod+Ctrl+m exec pavucontrol # Screen brightness controls bindsym XF86MonBrightnessUp exec --no-startup-id echo $((( $(cat /sys/class/backlight/intel_backlight/actual_brightness) + 10 ))) > /sys/class/backlight/intel_backlight/brightness || echo 937 > /sys/class/backlight/intel_backlight/brightness bindsym XF86MonBrightnessDown exec --no-startup-id echo $((( $(cat /sys/class/backlight/intel_backlight/actual_brightness) - 10 ))) > /sys/class/backlight/intel_backlight/brightness || echo 0 > /sys/class/backlight/intel_backlight/brightness +bindsym XF86HomePage exec --no-startup-id pkill -x -USR1 redshift # Volume controls bindsym XF86AudioRaiseVolume exec --no-startup-id BLOCK_BUTTON=4 ${HOME}/.i3blocks/volume && pkill -RTMIN+10 i3blocks @@ -108,8 +110,9 @@ bindsym --release Num_Lock exec --no-startup-id pkill -SIGRTMIN+12 i3blocks # Start Applications bindsym $mod+Ctrl+b exec i3-sensible-terminal -e fish -c bmenu bindsym $mod+F2 exec $BROWSER -bindsym $mod+Shift+F2 exec $BROWSER --private-window -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+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+F3 exec pcmanfm bindsym $mod+F3 exec i3-sensible-terminal -e fish -c ranger bindsym $mod+F4 exec i3-sensible-terminal -e fish -c bashmount @@ -124,6 +127,9 @@ bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s bindsym $mod+Shift+h exec dctl bindsym $mod+Ctrl+x --release exec --no-startup-id xkill bindsym $mod+l exec passmenu --type -l 10 +bindsym Shift+XF86MyComputer exec i3-input -f "xft:xos4 Terminus" -F 'mark %s' -P 'Mark: ' +bindsym XF86MyComputer exec i3-input -f "xft:xos4 Terminus" -F '[con_mark="%s"] focus' -P 'Go to: ' +bindsym Ctrl+XF86MyComputer exec i3-input -f "xft:xos4 Terminus" -F 'unmark %s' -P 'Unmark: ' #set $mode_ide (a)tom (t)exmaker #mode "$mode_ide" { @@ -342,26 +348,28 @@ bindsym $mod+9 exec --no-startup-id xscreensaver-command -lock exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 #exec --no-startup-id compton -b #exec --no-startup-id xfce4-power-manager -exec --no-startup-id clipit +# exec --no-startup-id clipit # exec_always --no-startup-id sbxkb exec --no-startup-id conky # exec --no-startup-id start_conky_green exec --no-startup-id xscreensaver -no-splash exec_always --no-startup-id setcursor exec claws-mail --online +#exec claws-mail --alternate-config-dir $HOME/.claws-mail-cognix --online #exec ring.cx -r -exec --no-startup-id sleep 2 && urxvtc -e fish -c newsboat -exec --no-startup-id sleep 5 && i3-msg '[class="URxvt"] move scratchpad' +exec --no-startup-id sleep 2 && urxvtc -e newsboat +exec --no-startup-id sleep 5 && i3-msg '[title="newsboat"] move scratchpad' exec --no-startup-id variety #exec --no-startup-id while true; do feh --bg-center $HOME/Images/wallpapers/396396-blackangel.jpg; sleep 5m; feh --bg-max $HOME/Images/wallpapers/other-clock-tower-time-brick-gears-steampunk-high-quality-picture.jpg; sleep 5m; done exec --no-startup-id xinput --disable "AlpsPS/2 ALPS DualPoint TouchPad" -exec --no-startup-id redshift-gtk +exec --no-startup-id redshift #exec --no-startup-id ${HOME}/.screenlayout/home.sh #exec --no-startup-id sleep 5 && mocp -S #exec --no-startup-id mpv ~/Vidéos/wallpapers/pirate_flag.mp4 --wid 0 --loop-file -quiet #exec --no-startup-id setxkbmap fr oss exec --no-startup-id nm-applet -exec --no-startup-id sudo droidmote 2302 1234 +exec --no-startup-id env DRI_PRIME=1 steam-native -silent +#exec --no-startup-id qbittorrent #exec --no-startup-id gdfs $HOME/.google_drive $HOME/Google_Drive/ #exec --no-startup-id transmission-gtk -m @@ -378,6 +386,7 @@ bar { bindsym button4 nop bindsym button5 nop # font -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 + # font xft:Latin Modern Mono strip_workspace_numbers yes colors { diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 537b9a8..20a38c5 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -7,4 +7,9 @@ hwdec=auto-copy hwdec-codecs=all #hwdec=no hr-seek-framedrop=no -no-resume-playback +#no-resume-playback +alang=fr,fre,fra +slang=fr,fre,fra +save-position-on-quit +cache=123400 +demuxer-readahead-secs=20 diff --git a/.config/yay/config.json b/.config/yay/config.json index d6e9504..95dcf34 100644 --- a/.config/yay/config.json +++ b/.config/yay/config.json @@ -1,14 +1,17 @@ { + "aururl": "https://aur.archlinux.org", "buildDir": "/home/breizh/.cache/yay", "editor": "vim", "editorflags": "", "makepkgbin": "/usr/bin/makepkg", + "makepkgconf": "", "pacmanbin": "/usr/bin/pacman", "pacmanconf": "/etc/pacman.conf", "tarbin": "/usr/bin/bsdtar", "redownload": "no", "rebuild": "no", "answerclean": "", + "answerdiff": "", "answeredit": "", "answerupgrade": "", "gitbin": "git", @@ -17,11 +20,21 @@ "mflags": "", "sortby": "name", "gitflags": "", + "removemake": "ask", "requestsplitn": 50, - "sortmode": 1, + "sortmode": 0, + "completionrefreshtime": 7, "sudoloop": true, "timeupdate": true, "devel": false, "cleanAfter": false, - "gitclone": true -} + "gitclone": true, + "provides": true, + "pgpfetch": true, + "upgrademenu": true, + "cleanmenu": true, + "diffmenu": true, + "editmenu": false, + "combinedupgrade": true, + "useask": false +} \ No newline at end of file diff --git a/.config/youtube-dl/config b/.config/youtube-dl/config index 562ef1f..4370062 100644 --- a/.config/youtube-dl/config +++ b/.config/youtube-dl/config @@ -3,6 +3,6 @@ --embed-subs --write-sub #--hls-prefer-ffmpeg ---external-downloader axel --f -"((bestvideo[container=webm][height=1080]/bestvideo[ext=webm][height=1080]/bestvideo[height=1080]/bestvideo[height>=?720]/bestvideo)+(bestaudio[container=webm]/bestaudio[ext=webm]/bestaudio))/best" +#--external-downloader axel +#--external-downloader-args "-x 4 -c" +-f "((bestvideo[container=webm][height=1080]/bestvideo[ext=webm][height=1080]/bestvideo[height=1080]/bestvideo[height>=?720]/bestvideo)+(bestaudio[container=webm]/bestaudio[ext=webm]/bestaudio))/best" diff --git a/.conkyrc b/.conkyrc index 923aae5..adc2b83 100644 --- a/.conkyrc +++ b/.conkyrc @@ -5,7 +5,9 @@ conky.config = { cpu_avg_samples = 2, double_buffer = true, font = 'xos4 Terminus:pixelsize=12', - draw_shades = false, + draw_outline = true, + default_outline_color = '#2D2D2D', + draw_graph_borders = false, minimum_width = 260, maximum_width = 260, minimum_height = 930, @@ -48,7 +50,7 @@ ${template2 6 2} ${template2 7 3} ${template2 8 4} -${color2}${font xos4 Terminus:pixelsize=14}Mémoire vive${font}${alignr}$mem / $memeasyfree / $memmax${color} +${color2}${font xos4 Terminus:pixelsize=14}RAM${font}${alignr}$mem / $memeasyfree / $memfree / $memmax${color} ${memgraph 66CCCC CC99CC -t}${color2}${voffset 10}${goto 95}$alignc$memperc%$color ${voffset -10}${template1 1} ${template1 2} diff --git a/.i3blocks.conf b/.i3blocks.conf index 3d123bd..efe9773 100644 --- a/.i3blocks.conf +++ b/.i3blocks.conf @@ -153,9 +153,9 @@ interval=600 #instance=0 #interval=5 -#[batterybar] -[battery] -label=bat +[batterybar] +#[battery] +#label=bat interval=10 #min_width="bat █████" @@ -167,7 +167,7 @@ interval=10 #instance=spotify interval=1 signal=13 -markup=none +#markup=none # OpenVPN support # diff --git a/.i3blocks/mocp b/.i3blocks/mocp index ba81acf..b159239 100755 --- a/.i3blocks/mocp +++ b/.i3blocks/mocp @@ -23,10 +23,17 @@ song=$(mocp -Q "%song") if [ ${#song} -gt 30 ] then dots="…" -elif [ ${#song} -gt 15 ] +fi +if [ ${#song} -gt 15 ] then shortdots="…" fi -echo "$status ${song:0:30}$dots $(mocp -Q "[%ct %tl %tt]")" -echo "$status ${song:0:15}$shortdots $(mocp -Q "%ct %tl")" +time="$(mocp -Q "[%ct %tl %tt]")" +shorttime="$(mocp -Q "%ct %tl")" + +[[ -z "$time" ]] && time="[00:00 00:00 00:00]" +[[ -z "$shorttime" ]] && shorttime="00:00 00:00" + +echo "$status ${song:0:30}$dots $time" +echo "$status ${song:0:15}$shortdots $shorttime" diff --git a/.i3blocks/updates b/.i3blocks/updates index 5c2bc4b..a413d60 100755 --- a/.i3blocks/updates +++ b/.i3blocks/updates @@ -1,29 +1,29 @@ -#!/usr/bin/env bash +#!/bin/bash -if [ -f /dev/shm/claws_offline ] +if [[ -f /dev/shm/claws_offline ]] then echo "" exit fi -if [ ! -f /dev/shm/updates ] +if [[ ! -f /dev/shm/updates ]] then echo 0 > /dev/shm/updates fi -avail=$(checkupdates | wc -l) -aur=$(yaourt -Qua | grep 'aur/' | wc -l) -total=$(($avail + $aur)) +avail=($(checkupdates | cut -d' ' -f1)) +aur=($(yaourt -Qua | cut -d' ' -f1 | grep 'aur/')) +total=$((${#avail[@]} + ${#aur[@]})) if [[ $total -eq 0 ]] then echo "" else echo "" - if [[ $(cat /dev/shm/updates) -ne $total ]] + if [[ $(cat /dev/shm/updates) -ne $total ]] || [[ -n "$BLOCK_BUTTON" ]] then - [[ $total -eq 1 ]] && notify-send "Mise à jour disponible" "1 màj disponible" - [[ $total -gt 1 ]] && notify-send "Mises à jour disponibles" "$total màj disponibles" + [[ $total -eq 1 ]] && notify-send "1 mise à jour disponible" "$(for item in ${avail[@]} ${aur[@]}; do echo $item; done)" + [[ $total -gt 1 ]] && notify-send "$total mises à jour disponibles" "$(for item in ${avail[@]} ${aur[@]}; do echo $item; done)" fi fi diff --git a/.moc/config b/.moc/config index c97a069..d95abd9 100644 --- a/.moc/config +++ b/.moc/config @@ -112,7 +112,7 @@ FormatString = "%(n:%n :)%(a:%a - :)%(t:%t - :)%(A:%A:)" # This can't be greater than the value of InputBuffer. While this has # a positive effect for network streams, it also causes the broadcast # audio to be delayed. -Prebuffering = 64 +Prebuffering = 128 # Use this HTTP proxy server for internet streams. If not set, the # environment variables http_proxy and ALL_PROXY will be used if present. diff --git a/.moc/notif b/.moc/notif index 160c13d..571ec46 100755 --- a/.moc/notif +++ b/.moc/notif @@ -2,6 +2,8 @@ pkill -SIGRTMIN+13 i3blocks +pidof cava && pkill -USR1 cava + [[ $# -eq 0 ]] && exit file="$1" diff --git a/.moc/softmixer b/.moc/softmixer index ae858e1..9a6a5be 100644 --- a/.moc/softmixer +++ b/.moc/softmixer @@ -1,4 +1,4 @@ -Active: 0 +Active: 1 Amplification: 100 Value: 100 Mono: 0 diff --git a/.vim/.netrwhist b/.vim/.netrwhist index 22e145a..c928808 100644 --- a/.vim/.netrwhist +++ b/.vim/.netrwhist @@ -1,5 +1,6 @@ let g:netrw_dirhistmax =10 -let g:netrw_dirhist_cnt =3 +let g:netrw_dirhist_cnt =4 let g:netrw_dirhist_1='/home/breizh/.config/cava' let g:netrw_dirhist_2='/home/breizh/.vim/bundle/base16-vim/colors' let g:netrw_dirhist_3='/sys/class/net' +let g:netrw_dirhist_4='/home/breizh/Documents/Serveur/dovecot/conf.d' diff --git a/.vim/bundle/onedark.vim b/.vim/bundle/onedark.vim index cabf8e6..2a6155a 160000 --- a/.vim/bundle/onedark.vim +++ b/.vim/bundle/onedark.vim @@ -1 +1 @@ -Subproject commit cabf8e6df08345df5c5f3fe1e46c20ebed374429 +Subproject commit 2a6155a255e83bb930da2627dce4259a3fe4ce3a diff --git a/.vim/bundle/vim-latex-live-preview b/.vim/bundle/vim-latex-live-preview index 9855f08..855c309 160000 --- a/.vim/bundle/vim-latex-live-preview +++ b/.vim/bundle/vim-latex-live-preview @@ -1 +1 @@ -Subproject commit 9855f084d0751dbd40a8cb56518f239e5eb1a624 +Subproject commit 855c30915547c7e9c19b7e6efb528730c071d2e8 diff --git a/.vim/config/settings.vim b/.vim/config/settings.vim index ff2cc07..fdb462d 100644 --- a/.vim/config/settings.vim +++ b/.vim/config/settings.vim @@ -14,16 +14,17 @@ let g:table_mode_corner_corner='+' let g:table_mode_header_fillchar='=' let g:grammalecte_cli_py='/usr/bin/grammalecte-cli.py' if filereadable(expand("~/.vimrc_background")) - if &t_Co >= 256 - let base16colorspace=256 - source ~/.vimrc_background - hi Normal guibg=NONE ctermbg=NONE - elseif has("gui_running") - source ~/.vimrc_background - set guifont=xos4\ Terminus - else - colorscheme default - endif + if &t_Co >= 256 + let base16colorspace=256 + source ~/.vimrc_background + hi Normal guibg=NONE ctermbg=NONE + elseif has("gui_running") + source ~/.vimrc_background + "set guifont=xos4\ Terminus + set guifont=Latin\ Modern\ Mono\ 11 + else + colorscheme default + endif endif "nnoremap j jzz "nnoremap k kzz @@ -33,4 +34,4 @@ endif let g:livepreview_previewer = 'zathura' let g:livepreview_engine = 'pdflatex' . ' -interaction=nonstopmode --shell-escape' cmap w!! w !sudo tee > /dev/null % - +"set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab diff --git a/.vim/pathogen b/.vim/pathogen index 020ab25..06da921 160000 --- a/.vim/pathogen +++ b/.vim/pathogen @@ -1 +1 @@ -Subproject commit 020ab25c38f62627c1dab6c7a851176c6ad309f9 +Subproject commit 06da921608b971fb47603671bcafdb2843992eb3 diff --git a/.xinitrc b/.xinitrc index 18f611b..74ed1ee 100644 --- a/.xinitrc +++ b/.xinitrc @@ -20,7 +20,7 @@ DEFAULT_SESSION='i3 --shmlog-size 0' [[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources [[ -f ~/.fehbg ]] && ~/.fehbg -#wal -R +[[ -f ~/.screenlayout/home.sh ]] && ~/.screenlayout/home.sh [[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap diff --git a/.xscreensaver b/.xscreensaver index 5d0e942..77acf7e 100644 --- a/.xscreensaver +++ b/.xscreensaver @@ -1,5 +1,5 @@ # XScreenSaver Preferences File -# Written by xscreensaver-demo 5.39 for breizh on Sun Jun 17 17:27:20 2018. +# Written by xscreensaver-demo 5.40 for breizh on Thu Nov 1 14:31:51 2018. # https://www.jwz.org/xscreensaver/ timeout: 0:15:00 @@ -209,7 +209,7 @@ programs: \ memscroller -root \n\ GL: noof -root \n\ pacman -root \n\ - GL: pinion -root \n\ + GL: pinion -root -fps \n\ GL: polyhedra -root -duration 27 \n\ - GL: providence -root \n\ substrate -root \n\ @@ -274,6 +274,9 @@ programs: \ GL: maze3d -root \n\ GL: peepers -root \n\ GL: razzledazzle -root \n\ + filmleader -root \n\ + glitchpeg -root \n\ + vfeedback -root \n\ pointerPollTime: 0:00:05