Diverses modifs
This commit is contained in:
parent
dd6891a630
commit
e9d6ecad70
6 changed files with 32 additions and 33 deletions
|
@ -57,8 +57,8 @@ Xautolock.locker: i3lock-wrapper -e
|
||||||
XTerm*reverseVideo: on
|
XTerm*reverseVideo: on
|
||||||
XTerm*selectToClipboard: true
|
XTerm*selectToClipboard: true
|
||||||
|
|
||||||
!URxvt.font: xft:IBM Plex Mono:size=12,xft:DejaVu Sans Mono:size=12
|
URxvt.font: xft:IBM Plex Mono:size=11,xft:DejaVu Sans Mono:size=11
|
||||||
URxvt.font: xft:xos4 Terminus:pixelsize=16,xft:DejaVu Sans Mono:pixelsize=16,xft:Noto Sans Mono:pixelsize=16
|
!URxvt.font: xft:xos4 Terminus:pixelsize=16,xft:DejaVu Sans Mono:pixelsize=16,xft:Noto Sans Mono:pixelsize=16
|
||||||
!URxvt.letterSpace: -1
|
!URxvt.letterSpace: -1
|
||||||
URxvt.depth: 32
|
URxvt.depth: 32
|
||||||
!URxvt.background: [100]#000000
|
!URxvt.background: [100]#000000
|
||||||
|
|
2
.bashrc
2
.bashrc
|
@ -283,7 +283,7 @@ alias moon='curl -H "Accept-Language: fr" wttr.in/Moon'
|
||||||
|
|
||||||
. /usr/share/doc/ranger/examples/bash_automatic_cd.sh
|
. /usr/share/doc/ranger/examples/bash_automatic_cd.sh
|
||||||
|
|
||||||
eval $(thefuck --alias)
|
#eval $(thefuck --alias)
|
||||||
|
|
||||||
# change title
|
# change title
|
||||||
|
|
||||||
|
|
|
@ -75,8 +75,9 @@ ${endif}
|
||||||
${color2}${font2}Capteurs $hr$font$color${voffset 2}
|
${color2}${font2}Capteurs $hr$font$color${voffset 2}
|
||||||
Disque dur${goto 140}${if_match ${hddtemp /dev/sda}>50}${color F2777A}$endif${hddtemp /dev/sda}°C$color
|
Disque dur${goto 140}${if_match ${hddtemp /dev/sda}>50}${color F2777A}$endif${hddtemp /dev/sda}°C$color
|
||||||
CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."k10temp-pci-00c3"."Tdie"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."k10temp-pci-00c3"."Tdie"."temp1_input"' | cut -d. -f1}°C${color}
|
CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."k10temp-pci-00c3"."Tdie"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."k10temp-pci-00c3"."Tdie"."temp1_input"' | cut -d. -f1}°C${color}
|
||||||
GPU${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-0900"."temp1"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-0900"."temp1"."temp1_input"' | cut -d. -f1}°C${color}
|
GPU Temp${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-0900"."edge"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-0900"."edge"."temp1_input"' | cut -d. -f1}°C${color}
|
||||||
GPU${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-0900"."power1"."power1_average"'}>180}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-0900"."power1"."power1_average"' | cut -d. -f1} W${color}
|
GPU Conso${goto 140}${if_match ${execi 5 sensors -j | jq '."amdgpu-pci-0900"."power1"."power1_average"'}>180}${color F2777A}$endif${execi 5 sensors -j | jq '."amdgpu-pci-0900"."power1"."power1_average"' | cut -d. -f1} W${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}
|
${color2}${font2}Système $hr$font$color${voffset 2}
|
||||||
|
|
|
@ -51,9 +51,9 @@ 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 11
|
||||||
#font xft:xos4 Terminus, DejaVu Sans Mono 14
|
#font xft:xos4 Terminus, DejaVu Sans Mono 14
|
||||||
font xft:Terminus, DejaVu Sans Mono 14
|
#font xft:Terminus, DejaVu Sans Mono 14
|
||||||
|
|
||||||
# Use Mouse+$mod to drag floating windows
|
# Use Mouse+$mod to drag floating windows
|
||||||
floating_modifier $mod
|
floating_modifier $mod
|
||||||
|
@ -413,7 +413,7 @@ bar {
|
||||||
bindsym button4 nop
|
bindsym button4 nop
|
||||||
bindsym button5 nop
|
bindsym button5 nop
|
||||||
# font -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1
|
# 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:IBM Plex Mono, DejaVu Sans Mono 11
|
||||||
# font xft:xos4 Terminus, DejaVu Sans Mono 14
|
# font xft:xos4 Terminus, DejaVu Sans Mono 14
|
||||||
strip_workspace_numbers yes
|
strip_workspace_numbers yes
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,25 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if ! systemctl --user is-active mpd &>/dev/null
|
||||||
|
then
|
||||||
|
origstatus='off'
|
||||||
|
else
|
||||||
|
origstatus="$(mpc status | sed -n '2p' | grep -Eo '^\[.*\]' | tr -d '[]')"
|
||||||
|
[[ -z "$origstatus" ]] && origstatus='stop'
|
||||||
|
fi
|
||||||
|
|
||||||
LONG=25
|
LONG=25
|
||||||
SHORT=10
|
SHORT=10
|
||||||
|
|
||||||
|
case $BLOCK_BUTTON in
|
||||||
|
1) mpc -q prev ;;
|
||||||
|
2) mpc -q toggle ;;
|
||||||
|
3) mpc -q next ;;
|
||||||
|
4) mpc -q volume +2 ;;
|
||||||
|
5) mpc -q volume -2 ;;
|
||||||
|
#?*) notify-send "Test" "$BLOCK_BUTTON" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
human_time() {
|
human_time() {
|
||||||
local seconds="$1"
|
local seconds="$1"
|
||||||
if [[ "$seconds" -lt 0 ]]
|
if [[ "$seconds" -lt 0 ]]
|
||||||
|
@ -21,24 +38,7 @@ human_time() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! systemctl --user is-active mpd &>/dev/null
|
|
||||||
then
|
|
||||||
origstatus='off'
|
|
||||||
else
|
|
||||||
origstatus="$(mpc status | sed -n '2p' | grep -Eo '^\[.*\]' | tr -d '[]')"
|
|
||||||
[[ -z "$origstatus" ]] && origstatus='stop'
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
case $BLOCK_BUTTON in
|
|
||||||
1) mpc -q prev ;;
|
|
||||||
2) mpc -q toggle ;;
|
|
||||||
3) mpc -q next ;;
|
|
||||||
4) mpc -q volume +2 ;;
|
|
||||||
5) mpc -q volume -2 ;;
|
|
||||||
#?*) notify-send "Test" "$BLOCK_BUTTON" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
status="<span foreground=\"#6699CC\">"
|
status="<span foreground=\"#6699CC\">"
|
||||||
case $origstatus in
|
case $origstatus in
|
||||||
stop ) status="<span foreground=\"#F2777A\">" ;;
|
stop ) status="<span foreground=\"#F2777A\">" ;;
|
||||||
|
@ -112,17 +112,17 @@ then
|
||||||
|
|
||||||
if [[ "$longsong" =~ § ]]
|
if [[ "$longsong" =~ § ]]
|
||||||
then
|
then
|
||||||
longsong="<u>${longsong/§/</u> }"
|
longsong="<i>${longsong/§/</i> }"
|
||||||
elif [[ "$song" =~ § ]]
|
elif [[ "$song" =~ § ]]
|
||||||
then
|
then
|
||||||
longsong="<u>${longsong}</u>"
|
longsong="<i>${longsong}</i>"
|
||||||
fi
|
fi
|
||||||
if [[ "$shortsong" =~ § ]]
|
if [[ "$shortsong" =~ § ]]
|
||||||
then
|
then
|
||||||
shortsong="<u>${shortsong/§/</u> }"
|
shortsong="<i>${shortsong/§/</i> }"
|
||||||
elif [[ "$song" =~ § ]]
|
elif [[ "$song" =~ § ]]
|
||||||
then
|
then
|
||||||
shortsong="<u>${shortsong}</u>"
|
shortsong="<i>${shortsong}</i>"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "${longsong} $status$longtime</span>"
|
echo "${longsong} $status$longtime</span>"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
let g:netrw_dirhistmax =10
|
let g:netrw_dirhistmax =10
|
||||||
let g:netrw_dirhist_cnt =3
|
let g:netrw_dirhistcnt =1
|
||||||
let g:netrw_dirhist_1='/home/breizh'
|
let g:netrw_dirhist_1='/home/breizh/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/Config'
|
||||||
let g:netrw_dirhist_2='/home'
|
|
||||||
let g:netrw_dirhist_3='/home/breizh'
|
|
||||||
|
|
Loading…
Reference in a new issue