Configuration fontconfig + diverses màj
This commit is contained in:
parent
bcd79e926c
commit
8b90ddd870
8 changed files with 44 additions and 13 deletions
|
@ -21,7 +21,7 @@ if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
|||
export XDG_CURRENT_DESKTOP=i3
|
||||
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
export BROWSER="systemd-run --user --scope -p MemoryMax=2G -E MOZ_X11_EGL=1 firefox"
|
||||
export BROWSER="systemd-run --user --scope -p MemoryMax=2G firefox"
|
||||
export TERMINAL=urxvtc
|
||||
startx
|
||||
logout
|
||||
|
|
27
.config/fontconfig/fonts.conf
Normal file
27
.config/fontconfig/fonts.conf
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<match target="font">
|
||||
<edit name="antialias" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<edit name="hinting" mode="assign">
|
||||
<bool>true</bool>
|
||||
</edit>
|
||||
<edit name="hintstyle" mode="assign">
|
||||
<const>hintmedium</const>
|
||||
</edit>
|
||||
<edit name="rgba" mode="assign">
|
||||
<const>rgb</const>
|
||||
</edit>
|
||||
<edit name="autohint" mode="assign">
|
||||
<bool>false</bool>
|
||||
</edit>
|
||||
<edit name="lcdfilter" mode="assign">
|
||||
<const>lcdlegacy</const>
|
||||
</edit>
|
||||
<edit name="dpi" mode="assign">
|
||||
<double>96</double>
|
||||
</edit>
|
||||
</match>
|
||||
</fontconfig>
|
|
@ -1,13 +1,13 @@
|
|||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
fields=0 17 18 48 49 39 113 111 109 110 46 47 2 1
|
||||
sort_key=46
|
||||
sort_key=111
|
||||
sort_direction=1
|
||||
tree_sort_key=0
|
||||
tree_sort_direction=1
|
||||
hide_kernel_threads=1
|
||||
hide_userland_threads=1
|
||||
shadow_other_users=0
|
||||
shadow_other_users=1
|
||||
show_thread_names=1
|
||||
show_program_path=1
|
||||
highlight_base_name=1
|
||||
|
@ -18,13 +18,13 @@ highlight_changes_delay_secs=5
|
|||
find_comm_in_cmdline=1
|
||||
strip_exe_from_cmdline=1
|
||||
show_merged_command=0
|
||||
tree_view=0
|
||||
tree_view=1
|
||||
tree_view_always_by_pid=0
|
||||
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=0
|
||||
degree_fahrenheit=0
|
||||
update_process_names=0
|
||||
|
@ -32,8 +32,8 @@ account_guest_in_cpu_meter=0
|
|||
color_scheme=0
|
||||
enable_mouse=0
|
||||
delay=15
|
||||
left_meters=LeftCPUs2 Blank CPU Memory Swap Zram Blank Tasks Blank DiskIO NetworkIO
|
||||
left_meter_modes=1 2 1 1 1 1 2 2 2 2 2
|
||||
right_meters=RightCPUs2 Blank CPU Memory LoadAverage Blank Clock Uptime Blank Systemd
|
||||
right_meter_modes=1 2 2 2 2 2 2 2 2 2
|
||||
left_meters=LeftCPUs2 Blank CPU Memory Swap Zram Blank Tasks Blank Systemd Blank PressureStallCPUSome PressureStallMemorySome PressureStallIOSome
|
||||
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
|
||||
|
|
|
@ -21,6 +21,7 @@ sub-use-margins
|
|||
sub-file-paths=~/Sous-titres/
|
||||
sub-font=IBM Plex Sans
|
||||
sub-font-size=35
|
||||
sub-margin-y=0
|
||||
|
||||
# Codecs
|
||||
hwdec=auto-copy
|
||||
|
|
|
@ -11,6 +11,7 @@ keepdevbuilddir = no
|
|||
keepbuilddeps = no
|
||||
skipfailedbuild = no
|
||||
alwaysusedynamicusers = no
|
||||
ignorearch = no
|
||||
|
||||
[review]
|
||||
noedit = yes
|
||||
|
|
|
@ -11,7 +11,7 @@ else
|
|||
[[ -z "$origstatus" ]] && origstatus='stop'
|
||||
fi
|
||||
|
||||
LONG=15
|
||||
LONG=40
|
||||
SHORT=15
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
|
|
|
@ -54,7 +54,9 @@ do
|
|||
file="$(basename "$(mpc -f '%file%' current)")"
|
||||
album="$(mpc -f '%album%' current)"
|
||||
|
||||
( zscroll -b "<b>$artist</b> " "${title:-${file}}" ) &
|
||||
[[ -n "$artist" ]] && artist+=" "
|
||||
|
||||
( zscroll -n false -b "$(tput bold)$artist$(tput sgr0)" "${title:-${file}}" ) &
|
||||
pid="$!"
|
||||
|
||||
mpc idle &>/dev/null
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
|
||||
declare -A colors=(
|
||||
[r]=0 # Red
|
||||
|
@ -40,7 +40,7 @@ then
|
|||
exit
|
||||
fi
|
||||
|
||||
lumi=20
|
||||
lumi=${LUMI:-100}
|
||||
mode=${3:-Direct} # Direct, Pulse, Flashing
|
||||
logo="$(hsv2rgb "${colors[${1}]}" 100 "$lumi")"
|
||||
fans="$(hsv2rgb "${colors[${2:-$1}]}" 100 "$lumi")"
|
||||
|
|
Loading…
Reference in a new issue