màj diverses
This commit is contained in:
parent
770a68512c
commit
2cf4db2800
13 changed files with 65 additions and 15 deletions
|
@ -97,6 +97,8 @@ ${template3 /home /home}
|
||||||
|
|
||||||
${template3 /mnt/data /mnt/data}
|
${template3 /mnt/data /mnt/data}
|
||||||
|
|
||||||
|
${template3 /home/minecraft /home/minecraft}
|
||||||
|
|
||||||
${template3 /tmp /tmp}
|
${template3 /tmp /tmp}
|
||||||
|
|
||||||
${template3 /dev/shm /dev/shm}
|
${template3 /dev/shm /dev/shm}
|
||||||
|
|
|
@ -76,7 +76,7 @@ $alignc${scroll left 39 2 1 ${v6addrs tun0 -n -s}}
|
||||||
${endif}
|
${endif}
|
||||||
${color2}${font2}Capteurs $hr$font$color${voffset 2}
|
${color2}${font2}Capteurs $hr$font$color${voffset 2}
|
||||||
Disque dur${goto 140}${if_match ${hddtemp}>50}${color F2777A}$endif${hddtemp}°C$color
|
Disque dur${goto 140}${if_match ${hddtemp}>50}${color F2777A}$endif${hddtemp}°C$color
|
||||||
CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."k10temp-pci-00c3"."Tdie"."temp2_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."k10temp-pci-00c3"."Tdie"."temp2_input"' | cut -d. -f1}°C${color}
|
CPU${goto 140}${if_match ${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"'}>70}${color F2777A}$endif${execi 5 sensors -j | jq '."zenpower-pci-00c3"."Tdie"."temp1_input"' | cut -d. -f1}°C${color}
|
||||||
Pièce${goto 140}${if_match ${execi 5 sensors -j | jq '."it8686-isa-0a60"."temp2"."temp2_input"'}>=25}${color F2777A}$endif${execi 5 sensors -j | jq '."it8686-isa-0a60"."temp2"."temp2_input"' | cut -d. -f1}°C${color}
|
Pièce${goto 140}${if_match ${execi 5 sensors -j | jq '."it8686-isa-0a60"."temp2"."temp2_input"'}>=25}${color F2777A}$endif${execi 5 sensors -j | jq '."it8686-isa-0a60"."temp2"."temp2_input"' | cut -d. -f1}°C${color}
|
||||||
|
|
||||||
${color2}${font2}Notes $hr$font$color${voffset 2}
|
${color2}${font2}Notes $hr$font$color${voffset 2}
|
||||||
|
|
|
@ -5,7 +5,6 @@ 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_S:sudo\x20systemctl
|
||||||
SETUVAR _fish_abbr_pik:pikaur
|
|
||||||
SETUVAR _fish_abbr_s:systemctl
|
SETUVAR _fish_abbr_s:systemctl
|
||||||
SETUVAR _fish_abbr_sa:ssh\x2dadd
|
SETUVAR _fish_abbr_sa:ssh\x2dadd
|
||||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
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=47
|
sort_key=47
|
||||||
sort_direction=1
|
sort_direction=1
|
||||||
hide_threads=0
|
tree_sort_key=48
|
||||||
|
tree_sort_direction=1
|
||||||
hide_kernel_threads=1
|
hide_kernel_threads=1
|
||||||
hide_userland_threads=1
|
hide_userland_threads=1
|
||||||
shadow_other_users=1
|
shadow_other_users=1
|
||||||
|
@ -12,12 +13,20 @@ 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
|
highlight_changes=0
|
||||||
|
highlight_changes_delay_secs=5
|
||||||
|
find_comm_in_cmdline=1
|
||||||
|
strip_exe_from_cmdline=1
|
||||||
|
show_merged_command=0
|
||||||
|
tree_view=1
|
||||||
|
tree_view_always_by_pid=0
|
||||||
header_margin=1
|
header_margin=1
|
||||||
detailed_cpu_time=1
|
detailed_cpu_time=1
|
||||||
cpu_count_from_zero=0
|
cpu_count_from_one=1
|
||||||
show_cpu_usage=0
|
show_cpu_usage=1
|
||||||
show_cpu_frequency=0
|
show_cpu_frequency=0
|
||||||
|
show_cpu_temperature=0
|
||||||
|
degree_fahrenheit=0
|
||||||
update_process_names=0
|
update_process_names=0
|
||||||
account_guest_in_cpu_meter=0
|
account_guest_in_cpu_meter=0
|
||||||
color_scheme=0
|
color_scheme=0
|
||||||
|
|
|
@ -361,7 +361,6 @@ exec --no-startup-id steam-native -silent -noverifyfiles -language french
|
||||||
#exec --no-startup-id SVPManager
|
#exec --no-startup-id SVPManager
|
||||||
exec --no-startup-id hp-systray -x
|
exec --no-startup-id hp-systray -x
|
||||||
exec --no-startup-id mpv "$HOME/Musique/WELCOME BACK.wav"
|
exec --no-startup-id mpv "$HOME/Musique/WELCOME BACK.wav"
|
||||||
exec --no-startup-id xscreensaver -nosplash
|
|
||||||
exec --no-startup-id variety
|
exec --no-startup-id variety
|
||||||
|
|
||||||
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
||||||
|
|
|
@ -199,6 +199,10 @@ interval=60
|
||||||
[beep]
|
[beep]
|
||||||
interval=once
|
interval=once
|
||||||
signal=14
|
signal=14
|
||||||
|
separator=false
|
||||||
|
|
||||||
|
[rgb]
|
||||||
|
interval=once
|
||||||
|
|
||||||
[keyindicator]
|
[keyindicator]
|
||||||
instance=Caps
|
instance=Caps
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#-o "%(playlist_index)s.%(title)s.mkv"
|
#-o "%(playlist_index)s.%(title)s.mkv"
|
||||||
-o "%(title)s.mkv"
|
-o "%(title)s.mkv"
|
||||||
--merge-output-format mkv
|
--merge-output-format mkv
|
||||||
--sub-lang fr,en
|
|
||||||
--embed-subs
|
--embed-subs
|
||||||
--write-sub
|
--write-sub
|
||||||
--write-auto-sub
|
--write-auto-sub
|
||||||
|
--sub-lang fr,en
|
||||||
-i
|
-i
|
||||||
#--hls-prefer-ffmpeg
|
#--hls-prefer-ffmpeg
|
||||||
#--external-downloader aria2c
|
#--external-downloader aria2c
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
runtime="${XDG_RUNTIME_DIR}/i3blocks"
|
runtime="${XDG_RUNTIME_DIR}/i3blocks"
|
||||||
[[ ! -d "$runtime" ]] && mkdir -p "$runtime"
|
[[ ! -d "$runtime" ]] && mkdir -p "$runtime"
|
||||||
|
|
||||||
[[ ! -f "$runtime/keyboard" ]] && button=1
|
[[ ! -f "$runtime/keyboard" ]] && [[ -z "$button" ]] && button=1
|
||||||
|
|
||||||
case $button in
|
case $button in
|
||||||
1) setxkbmap fr bepo_afnor; echo "bépo" > "$runtime/keyboard";;
|
1) setxkbmap fr bepo_afnor; echo "bépo" > "$runtime/keyboard";;
|
||||||
|
|
29
.i3blocks/rgb
Executable file
29
.i3blocks/rgb
Executable file
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
runtime="${XDG_RUNTIME_DIR}/i3blocks"
|
||||||
|
[[ ! -d "$runtime" ]] && mkdir -p "$runtime"
|
||||||
|
|
||||||
|
|
||||||
|
if [[ -n "$button" ]]
|
||||||
|
then
|
||||||
|
if [[ -f "$runtime/rgb" ]]
|
||||||
|
then
|
||||||
|
openrgb -d 0 -m direct -c 000000 &>/dev/null
|
||||||
|
rm "$runtime/rgb"
|
||||||
|
else
|
||||||
|
openrgb -d 0 -m 'Color Cycle' &>/dev/null
|
||||||
|
touch "$runtime/rgb"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
touch $runtime/rgb
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "$runtime/rgb" ]]
|
||||||
|
then
|
||||||
|
color="#99CC99"
|
||||||
|
else
|
||||||
|
color="#747369"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "<span foreground=\"$color\">rgb</span>"
|
13
.local/bin/hsv2rgb
Executable file
13
.local/bin/hsv2rgb
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
import colorsys
|
||||||
|
import sys
|
||||||
|
|
||||||
|
h, s, v = map(float, sys.argv[1:])
|
||||||
|
h /= 360
|
||||||
|
s /= 100
|
||||||
|
v /= 100
|
||||||
|
|
||||||
|
r, g, b = colorsys.hsv_to_rgb(h, s, v)
|
||||||
|
print("#{:02x}{:02x}{:02x}".format(round(255*r), round(255*g), round(255*b)))
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
/usr/lib/jvm/java-14-openjdk/bin/java --module-path /usr/lib/jvm/java-14-openjdk/lib/javafx.base.jar:/usr/lib/jvm/java-14-openjdk/lib/javafx.controls.jar:/usr/lib/jvm/java-14-openjdk/lib/javafx.fxml.jar:/usr/lib/jvm/java-14-openjdk/lib/javafx.graphics.jar:/usr/lib/jvm/java-14-openjdk/lib/javafx.media.jar:/usr/lib/jvm/java-14-openjdk/lib/javafx.swing.jar:/usr/lib/jvm/java-14-openjdk/lib/javafx.web.jar:/usr/lib/jvm/java-14-openjdk/lib/javafx-swt.jar:/usr/lib/jvm/java-14-openjfx/lib/javafx.base.jar:/usr/lib/jvm/java-14-openjfx/lib/javafx.controls.jar:/usr/lib/jvm/java-14-openjfx/lib/javafx.fxml.jar:/usr/lib/jvm/java-14-openjfx/lib/javafx.graphics.jar:/usr/lib/jvm/java-14-openjfx/lib/javafx.media.jar:/usr/lib/jvm/java-14-openjfx/lib/javafx.swing.jar:/usr/lib/jvm/java-14-openjfx/lib/javafx.web.jar:/usr/lib/jvm/java-14-openjfx/lib/javafx-swt.jar --add-modules ALL-MODULE-PATH -jar $(dirname $0)/mcaselector-1.12.jar
|
|
||||||
|
|
||||||
rm -rf $(dirname $0)/cache
|
|
Binary file not shown.
|
@ -8,7 +8,7 @@ runtime="${XDG_RUNTIME_DIR}/i3blocks"
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
systemctl --user is-active mpd.service || exit 1
|
systemctl --user is-active mpd.service &>/dev/null || exit 1
|
||||||
timeout 5 mpc -w current
|
timeout 5 mpc -w current
|
||||||
onelineinfos="$(mpc -f '[%artist%§]%title%|[%file%]' current)"
|
onelineinfos="$(mpc -f '[%artist%§]%title%|[%file%]' current)"
|
||||||
if [[ "$onelineinfos" != "$(<${runtime}/mpd)" ]]
|
if [[ "$onelineinfos" != "$(<${runtime}/mpd)" ]]
|
||||||
|
|
Loading…
Reference in a new issue