Mises à jour diverses

This commit is contained in:
Breizh 2021-07-31 17:04:25 +02:00
parent 4d7c913abe
commit 2f8bce8c92
4 changed files with 5 additions and 33 deletions

View file

@ -12,3 +12,5 @@ gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb
gtk-decoration-layout=:menu,appmenu,close
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR

View file

@ -24,7 +24,7 @@ header_margin=1
detailed_cpu_time=1
cpu_count_from_one=0
show_cpu_usage=1
show_cpu_frequency=0
show_cpu_frequency=1
show_cpu_temperature=1
degree_fahrenheit=0
update_process_names=0
@ -37,4 +37,3 @@ left_meter_modes=1 2 1 1 1 1 2 2 2 2 2 2 2 2
right_meters=RightCPUs2 Blank CPU Memory LoadAverage Blank Clock Uptime Blank DiskIO NetworkIO Blank PressureStallMemoryFull PressureStallIOFull
right_meter_modes=1 2 2 2 2 2 2 2 2 2 2 2 2 2
hide_function_bar=0

View file

@ -203,8 +203,8 @@ interval=once
signal=14
separator=false
[rgb]
interval=once
#[rgb]
#interval=once
[keyindicator]
instance=Caps

View file

@ -1,29 +0,0 @@
#!/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>"