Mise à jour diverses

This commit is contained in:
Breizh 2023-02-05 23:49:47 +01:00
parent c778becc5e
commit 9f12572e06
19 changed files with 111 additions and 2723 deletions

View file

@ -44,8 +44,8 @@ Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hintstyle: hintmedium
Xft.lcdfilter: lcdlegacy
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xft.dpi: 96
Xcursor.theme: Adwaita
Xcursor.size: 0
@ -57,9 +57,8 @@ Xautolock.locker: i3lock-wrapper -e
XTerm*reverseVideo: on
XTerm*selectToClipboard: true
!URxvt.font: xft:IBM Plex Mono:pixelsize=14,xft:DejaVu Sans Mono:pixelsize=14,xft:Noto Sans Mono:pixelsize=14
!URxvt.font: xft:xos4 Terminus:pixelsize=14,xft:DejaVu Sans Mono:antialias=false:pixelsize=14,xft:Noto Sans Mono:pixelsize=14:antialias=false
URxvt.font: xft:xos4 Terminus:size=12,xft:DejaVu Sans Mono:antialias=false:size=12,xft:Noto Sans Mono:size=12:antialias=false
URxvt.font: xft:xos4 Terminus:pixelsize=16,xft:DejaVu Sans Mono:antialias=false:pixelsize=16,xft:Noto Sans Mono:pixelsize=16:antialias=false
!URxvt.font: xft:IBM Plex Mono:pixelsize=14,xft:DejaVu Sans Mono:antialias=false:pixelsize=14,xft:Noto Sans Mono:pixelsize=14:antialias=true
!URxvt.letterSpace: 0
!URxvt.depth: 32
!URxvt.background: [100]#000000
@ -71,7 +70,7 @@ URxvt.iconFile: /usr/share/icons/gnome/16x16/apps/terminal.png
URxvt*scrollBar: true
URxvt*mouseWheelScrollPage: false
URxvt*cursorBlink: true
!URxvt*background: black
!URxvt*background: #2D2D2D
!URxvt*foreground: #AAAAAA
URxvt*saveLines: 0
@ -87,7 +86,7 @@ URxvt*shading: 25
! URxvt.keysym.M-v: perl:clipboard:paste
! URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
! URxvt*termName: string
! URxvt*geometry: geometry
URxvt*geometry: 400x100
! URxvt*chdir: string
! URxvt*reverseVideo: boolean
! URxvt*loginShell: boolean
@ -215,7 +214,8 @@ URxvt.keysym.C-Up: resize-font:bigger
URxvt.keysym.C-equal: resize-font:reset
URxvt.keysym.C-question: resize-font:show
URxvt.keysym.M-s: searchable-scrollback:start
URxvt.resize-font.step: 1
URxvt.resize-font.step: 2
URxvt.refreshRate: 240
! Base16 Eighties
! Scheme: Chris Kempson (http://chriskempson.com)

View file

@ -7,7 +7,7 @@
; mode = normal
# Accepts only non-negative values.
; framerate = 60
; framerate = 240
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# new as of 0.6.0 autosens of low values (dynamic range)

View file

@ -3,14 +3,14 @@ conky.config = {
background = true,
xinerama_head = 1,
double_buffer = true,
font = 'xos4 Terminus:size=8',
font = 'xos4 Terminus:pixelsize=12',
draw_graph_borders = true,
draw_outline = false,
minimum_width = 260,
maximum_width = 260,
minimum_height = 1080,
gap_x = 5,
gap_y = 5,
gap_x = 4,
gap_y = 4,
no_buffers = true,
own_window = true,
own_window_class = Conky,
@ -29,7 +29,7 @@ conky.config = {
text_buffer_size = 1024,
color2 = '#F2F0EC',
font2 = 'xos4 Terminus:size=12',
font2 = 'xos4 Terminus:pixelsize=14',
--template0 = [[${cpubar cpu\1 6,60}${offset 5}]],
template0 = [[${cpubar cpu\1 6,125}${goto 140}${cpubar cpu\2}]],
@ -39,7 +39,7 @@ conky.config = {
};
conky.text = [[
${color 6699CC}$alignc${font xos4 Terminus:size=14}Arch Linux$font$color
${color 6699CC}$alignc${font xos4 Terminus:pixelsize=18}Arch Linux$font$color
${color2}${font2}Processeur $hr${font}${color}
${cpugraph}

View file

@ -1,17 +1,17 @@
conky.config = {
alignment = 'top_right',
alignment = 'top_left',
background = true,
cpu_avg_samples = 4,
xinerama_head = 1,
double_buffer = true,
font = 'xos4 Terminus:size=8',
font = 'xos4 Terminus:pixelsize=12',
draw_graph_borders = true,
draw_outline = false,
minimum_width = 260,
maximum_width = 260,
minimum_height = 1080,
gap_x = 5,
gap_y = 5,
gap_x = 274,
gap_y = 4,
no_buffers = true,
own_window = true,
own_window_class = Conky,
@ -26,19 +26,20 @@ conky.config = {
if_up_strictness = 'link',
use_spacer = right,
text_buffer_size = 2048,
mpd_host = "/home/breizh/.mpd/socket",
color2 = 'F2F0EC',
font2 = 'xos4 Terminus:size=12',
font2 = 'xos4 Terminus:pixelsize=14',
template0 = [[${top_mem pid \1} ${top_mem name \1}${alignr}${top_mem mem_res \1} ${top_mem mem \1}%]]
};
conky.text = [[
${color 6699CC}$alignc${font xos4 Terminus:size=14}${time %A %d %B %Y}$font$color
${color 6699CC}$alignc${font xos4 Terminus:pixelsize=18}${time %A %d %B %Y}$font$color
${color2}${font2}Mémoire $hr$font$color
${memgraph}
${goto 140}${color 747369}${memwithbuffersbar}${color}${voffset -12}
${goto 140}${color 747369}${memwithbuffersbar}${color}${voffset -11}
RAM : $memperc%${goto 140}${if_match $memperc>85}${color F2777A}$else${if_match $memperc>70}${color FFCC66}$else${color 99CC99}$endif$endif${membar}$color
Util.: ${mem}${goto 140}Dispo.: ${memeasyfree}
Cache: ${cached}${goto 140}Libre : ${memfree}
@ -64,7 +65,7 @@ ${downspeedgraph enp34s0 25,125}${alignr}${upspeedgraph enp34s0 25,125}
Téléchargé ${totaldown enp34s0}${goto 140}Téléversé ${totalup enp34s0}
$alignc${addrs enp34s0}
$alignc${scroll left 39 2 1 ${v6addrs enp34s0 -n -s}}${if_up tun0}
$alignc${scroll wait 48 1 5 ${v6addrs enp34s0 -n -s}}${if_up tun0}
#$alignc${curl ifconfig.co/ip}$alignc${curl ip.yunohost.org}${if_up tun0}
${color2}${font2}VPN $hr$font$color
${voffset 2}Téléchargement ${downspeed tun0}${goto 140}Téléversement ${upspeed tun0}
@ -89,11 +90,21 @@ Ventilo${goto 140}${if_match ${hwmon amdgpu fan 1}>2000}${color F2777A}$endif${h
${color2}${font2}Système $hr$font$color${voffset 2}
Kernel${goto 140}$kernel
Uptime${goto 140}$uptime
Redshift${goto 140}${exec redshift -p | grep -Po "[0-9]+K"}
Redshift${goto 140}${execpi 5 redshift -p | grep -Po "[0-9]+K"}
${color2}${font2}Sylvexplorer $hr$font$color${voffset 2}
${texeci 3600 /home/breizh/.config/conky/sylv.sh}
${color2}${font2}MPD $hr$font$color${voffset 2}
$alignc${scroll wait 48 1 5 ${mpd_smart}}
$alignc${if_match "$mpd_album"!=""}${scroll wait 48 1 5 ${mpd_album}}$endif
$alignr$mpd_elapsed / $mpd_length ${goto 140}${if_match "${mpd_status}"=="Playing"}${color 99CC99}$endif${if_match "${mpd_status}"=="Paused"}${color FFCC66}$endif${if_match "${mpd_status}"=="Stopped"}${color F2777A}$endif$mpd_bar$color
Piste: $mpd_track${goto 140}Date : $mpd_date
Nom : ${scroll wait 17 1 5 $mpd_name}${goto 140}Bitr.: $mpd_bitrate kbps
Rép. : $mpd_repeat${goto 140}Aléa.: $mpd_random
Comm.: ${scroll wait 41 1 5 ${mpd_comment}}
${color2}${font2}Notes $hr$font$color${voffset 2}
${catp /home/breizh/notes}
]]

View file

@ -4,7 +4,7 @@
### Display ###
# Which monitor should the notifications be displayed on.
# monitor = 1
monitor = 1
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
@ -17,23 +17,23 @@
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = keyboard
follow = none
### Geometry ###
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = (0, 1122)
width = (0, 1128)
# The maximum height of a single notification, excluding the frame.
height = 200
# Position the notification in the top right corner
origin = top-right
origin = top-left
# Offset from the origin
offset = 30x20
offset = 580x20
# Scale factor. It is auto-detected if value is 0.
scale = 0

View file

@ -44,6 +44,6 @@ function config
end
function rm
/usr/bin/rm -I --preserve-root $argv
/usr/bin/rm -Iv --preserve-root $argv
end

View file

@ -9,7 +9,7 @@
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintmedium</const>
<const>hintslight</const>
</edit>
<edit name="rgba" mode="assign">
<const>rgb</const>
@ -18,10 +18,10 @@
<bool>false</bool>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcdlegacy</const>
<const>lcddefault</const>
</edit>
<edit name="dpi" mode="assign">
<double>96</double>
<double>108</double>
</edit>
</match>
</fontconfig>

View file

@ -2,7 +2,7 @@
gtk-application-prefer-dark-theme=true
gtk-theme-name=Vertex-Dark
gtk-icon-theme-name=Vertex-Icons
gtk-font-name=IBM Plex Sans 10
gtk-font-name=IBM Plex Sans 14px
#gtk-font-name=xos4 Terminus 10
gtk-button-images=1
gtk-menu-images=1

View file

@ -36,7 +36,7 @@ column_meters_0=LeftCPUs2 Blank CPU Memory Swap Blank Hostname System DateTime B
column_meter_modes_0=1 2 1 1 1 2 2 2 2 2 2 2 2 2 2
column_meters_1=RightCPUs2 Blank CPU Memory Swap Blank Uptime LoadAverage Tasks Blank DiskIO NetworkIO Blank PressureStallMemoryFull PressureStallIOFull
column_meter_modes_1=1 2 2 2 2 2 2 2 2 2 2 2 2 2 2
tree_view=0
tree_view=1
sort_key=119
tree_sort_key=0
sort_direction=-1
@ -46,7 +46,7 @@ all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE OOM M_VIRT M_RESIDENT M_SHARE M_SWAP IO_RATE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=M_SWAP
.tree_sort_key=PID
.tree_view=0
.tree_view=1
.tree_view_always_by_pid=0
.sort_direction=-1
.tree_sort_direction=1

View file

@ -41,17 +41,18 @@ new_window normal 1
new_float normal 1
# Hide borders
# hide_edge_borders smart
hide_edge_borders vertical
# change borders
bindsym $mod+u border none
bindsym $mod+y border pixel 1
bindsym $mod+n border normal 1
bindsym $mod+Shift+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:IBM Plex Sans, DejaVu Sans 10
#font xft:Terminus, DejaVu Sans Mono 12
font xft:IBM Plex Sans, DejaVu Sans 14px
#font xft:Terminus, DejaVu Sans Mono 16px
# Use Mouse+$mod to drag floating windows
floating_modifier $mod
@ -270,14 +271,14 @@ bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
force_display_urgency_hint 2000 ms
workspace $ws1 output DisplayPort-2
workspace $ws2 output DisplayPort-2
workspace $ws3 output DisplayPort-2
workspace $ws4 output DisplayPort-2
workspace $ws5 output DisplayPort-2
workspace $ws6 output DisplayPort-2
workspace $ws7 output DisplayPort-2
workspace $ws8 output HDMI-A-1
workspace $ws1 output DisplayPort-0
workspace $ws2 output DisplayPort-0
workspace $ws3 output DisplayPort-0
workspace $ws4 output DisplayPort-0
workspace $ws5 output DisplayPort-0
workspace $ws6 output DisplayPort-0
workspace $ws7 output DisplayPort-1
workspace $ws8 output DisplayPort-1
# Open applications on specific workspaces
#assign [class="Claws-mail"] $ws5
@ -374,22 +375,23 @@ exec --no-startup-id steam-native -silent -noverifyfiles -language french
#exec --no-startup-id hp-systray -x
exec --no-startup-id sleep 5 && play "$HOME/Musique/WELCOME BACK.wav"
exec --no-startup-id variety
exec --no-startup-id sleep 5m && qbittorrent
# Start i3bar to display a workspace bar (plus the system information i3status if available)
bar {
# position top
#status_command i3blocks
status_command 2>/tmp/i3blocks.err i3blocks
status_command i3blocks
#status_command 2>/tmp/i3blocks.err i3blocks
## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
tray_output primary
# output eDP1
# output DisplayPort-0
bindsym button4 nop
bindsym button5 nop
# font -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1
# font xft:IBM Plex Mono, DejaVu Sans Mono 13px
font xft:Terminus, DejaVu Sans Mono 12
#font xft:IBM Plex Mono, DejaVu Sans Mono 14px
font xft:Terminus, DejaVu Sans Mono 16px
strip_workspace_numbers yes
colors {
@ -413,5 +415,3 @@ bindsym $mod+semicolon bar mode toggle
#gaps inner 10
#gaps outer 0
#smart_gaps on
#smart_borders no_gaps

View file

@ -7,11 +7,6 @@ hover-zone-height=40
# file name and system time when the mouse is hovered over it.
top-hover-zone-height=40
# Acts as a multiplier to increase the size of every UI element. Useful for high-
# DPI displays that cause the UI to be rendered too small (happens at least on
# macOS).
display-scale-factor=1
# Default style that is applied to all UI elements. A string of ASS override tags.
# Individual elements have their own style settings which override the tags here.
# Changing the font will likely require changing the hover-time margin settings
@ -114,7 +109,7 @@ bar-foreground-style=
# A string of ASS override tags that get applied only to the cache layer of the
# bar, particularly the part of the cache bar that is behind the current playback
# position. The default sets only the color.
# bar-cache-style=\c&H697374&
# bar-cache-style=\c&H515151&
bar-cache-style=\c&7A77F2&
# A string of ASS override tags that get applied only to the cache layer of the
@ -181,6 +176,22 @@ hover-time-right-margin=130
# positioned.
hover-time-bottom-margin=0
# Sets whether or not thumbnails are displayed at all. Note: thumbnail display
# requires use of the thumbfast script (See: https://github.com/po5/thumbfast).
enable-thumbnail=yes
# Controls how close to the left edge of the window the thumbnail display can
# get.
thumbnail-left-margin=10
# Controls how close to the right edge of the window the thumbnail display can
# get.
thumbnail-right-margin=10
# Controls how far above the expanded progress bar the thumbnail display is
# positioned.
thumbnail-bottom-margin=40
# Sets whether or not the video title is displayed at all.
enable-title=yes

View file

@ -1,97 +0,0 @@
local mp = require 'mp'
local mp_options = require 'mp.options'
local enabled = false
local catching_up = false
local target = 1
local brick = 0
function on_pause_change(name, value)
if not enabled then return end
if value == true then
mp.osd_message("resetting catchup info on pausing", 1)
local catching_up = false
mp.set_property('speed', 1)
end
end
function do_process_timer()
if not enabled then return end
local pause = mp.get_property('pause')
local rem = tonumber(mp.get_property('time-remaining') or 0)
if pause == 'no' then
local cspeed = tonumber(mp.get_property('speed') or 1)
if rem > target + 0.8 + brick and not catching_up then
mp.osd_message("catchup", 1)
catching_up = true
mp.set_property('speed', 1.5)
elseif (rem < target - 0.1 + brick and catching_up) or rem < target - 0.4 + brick and cspeed > 1 then
mp.osd_message("done catching up", 1)
catching_up = false
mp.set_property('speed', 1)
end
if catching_up and cspeed == 1 then
catching_up = false
end
end
end
function on_keybind()
if enabled then
mp.osd_message("disabling catchup features", 3)
enabled = false
if catching_up then
catching_up = false
mp.set_property('speed', 1)
end
else
mp.osd_message("enabling catchup features", 3)
enabled = true
end
end
function increase_target()
target = target + 0.1
mp.osd_message("target: " .. target, 1)
end
function decrease_target()
target = target - 0.1
mp.osd_message("target: " .. target, 1)
end
function increase_brick()
brick = brick + 0.1
mp.osd_message("brick: " .. brick, 1)
end
function decrease_brick()
brick = brick - 0.1
mp.osd_message("brick: " .. brick, 1)
end
mp.observe_property("pause", "bool", on_pause_change)
mp.add_periodic_timer(0.07, do_process_timer)
mp.add_key_binding("Shift+c", "catchup-toggle", on_keybind)
mp.add_key_binding("Ctrl+Down", "catchup-decrease-target", decrease_target)
mp.add_key_binding("Ctrl+Up", "catchup-increase-target", increase_target)
mp.add_key_binding("Ctrl+Left", "catchup-decrease-brick", decrease_brick)
mp.add_key_binding("Ctrl+Right", "catchup-increase-brick", increase_brick)
local options = {
enable = false
}
mp_options.read_options(options, "catchup")
enabled = not options.enable
on_keybind()

File diff suppressed because it is too large Load diff

View file

@ -100,7 +100,7 @@ visualizer_in_stereo = yes
##
#visualizer_type = spectrum
#
#visualizer_fps = 60
visualizer_fps = 144
#
visualizer_autoscale = yes
#

View file

@ -319,8 +319,10 @@ set nested_ranger_warning true
# Examples:
# setlocal path=~/downloads sort mtime
setlocal path=~/mnt preview_max_size 52428800
# setlocal path=~/mnt preview_max_size 52428800
setlocal path=~/mnt preview_directories false
setlocal path=~/cache/ranger use_preview_script false
setlocal path=~/cache/ranger preview_images false
# ===================================================================
# == Command Aliases in the Console

View file

@ -12,3 +12,7 @@
--compat-options no-keep-subs
--download-archive ".yt-dlp_archive"
-N 4
# For 429 errors
--retry-sleep fragment:exp=1:320
--abort-on-unavailable-fragment

View file

@ -1,6 +1,6 @@
gtk-theme-name="Vertex-Dark"
gtk-icon-theme-name="Vertex-Icons"
gtk-font-name="IBM Plex Sans 10"
gtk-font-name="IBM Plex Sans 14px"
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1

View file

@ -5,8 +5,10 @@ do
if [[ "$line" =~ ^/ ]]
then
echo "mine $line" > /run/minecraft-server.stdin
elif [[ "$line" =~ ^msh ]]
then
echo "$line" > /run/minecraft-server.stdin
else
echo "mine say $line" > /run/minecraft-server.stdin
# echo "mine dynmap sendtoweb $line" > /run/minecraft-server.stdin
fi
done

View file

@ -21,7 +21,9 @@ cd "$rootdir"
for dir in **/ .
do
# Ignorer les liens symboliques
if [[ -h "${rootdir}/${dir::-1}" && "${dir}" != "Vidéos/" ]]
#if [[ -h "${rootdir}/${dir::-1}" && "${dir}" != "Vidéos/" ]]
# Converti uniquement les vidéos
if [[ "${dir}" != "Vidéos/" ]]
then
continue
fi
@ -87,20 +89,20 @@ do
# Si le moindre fichier a été converti, on refait les tags replay gain
if ${togain} && [[ "${dir}" != "Vidéos/" ]]
then
(
cd "${dstdir}"
shopt -s nullglob
echo "[${blue}GAIN${reset}] $dir"
loudgain -S -a -k -q -s e -- *.opus &>/dev/null && \
echo "[${green}GAIN${reset}] $dir" || \
echo "[${red}GAIN${reset}] $dir"
shopt -u nullglob
) & disown $!
# Réinitialise le tag togain
togain="false"
fi
#if ${togain} && [[ "${dir}" != "Vidéos/" ]]
#then
# (
# cd "${dstdir}"
# shopt -s nullglob
# echo "[${blue}GAIN${reset}] $dir"
# loudgain -S -a -k -q -s e -- *.opus &>/dev/null && \
# echo "[${green}GAIN${reset}] $dir" || \
# echo "[${red}GAIN${reset}] $dir"
# shopt -u nullglob
# ) & disown $!
#
# # Réinitialise le tag togain
# togain="false"
#fi
done
wait