Skip to content

Commit b7c77e4

Browse files
committed
Start refactoring of repository
1 parent a8c3682 commit b7c77e4

File tree

167 files changed

+625
-247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+625
-247
lines changed

.asoundrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# réglage de la carte son par défaut, selon la commande « aplay -l », card = carte et device = périphérique
22
defaults.pcm.card 0
33
defaults.pcm.device 0
4-
defaults.ctl.card 0
4+
#defaults.ctl.card 0
5+
defaults.ctl.card 1
56

67
# fréquence d'échantillonnage
78
defaults.pcm.dmix.!rate 44100

.config/htop/htoprc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Beware! This file is rewritten by htop when settings are changed in the interface.
22
# The parser is also very primitive, and not human-friendly.
3-
fields=0 48 17 18 38 39 40 2 46 47 49 1
3+
fields=0 48 17 18 38 39 40 2 46 47 49 1
44
sort_key=46
55
sort_direction=1
66
hide_threads=0
@@ -20,7 +20,7 @@ update_process_names=0
2020
account_guest_in_cpu_meter=0
2121
color_scheme=0
2222
delay=15
23-
left_meters=AllCPUs CPU Memory Swap
24-
left_meter_modes=1 1 1 1
25-
right_meters=Tasks Battery LoadAverage Uptime
26-
right_meter_modes=2 2 2 2
23+
left_meters=AllCPUs CPU Memory Swap
24+
left_meter_modes=1 1 1 1
25+
right_meters=Tasks Battery LoadAverage Uptime
26+
right_meter_modes=2 2 2 2

.config/i3/config

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@
1414
# ----------------------------------------------------------------------------
1515

1616
set $mod Mod1
17+
set $termDetached kitty
1718
set $term kitty --single-instance
1819

20+
# autolock timer in minutes
21+
set $autolock 10
22+
set $lockalert "notify-send -u critical -t 10000 -- 'Locking screen in 10 seconds'"
23+
1924
# workspaces
2025
set $W1 "1: Term"
2126
set $W2 "2: Work"
@@ -32,8 +37,8 @@ set $W10 "10"
3237
set $SCREEN1 eDP0
3338
set $SCREEN2 HDMI1
3439

35-
new_window pixel 1
36-
new_float pixel 4
40+
new_window pixel 2
41+
new_float pixel 3
3742
hide_edge_borders smart
3843

3944
# Font for window titles. Will also be used by the bar unless a different font
@@ -201,9 +206,6 @@ mode "$mode_virtualbox" {
201206
# $mod+Control shortcuts are use for system/i3 calls
202207
# ----------------------------------------------------------------------------
203208

204-
# Screen off
205-
#bindsym XF86Sleep exec "xset dpms force off"
206-
207209
set $Locker i3lock -c 000000
208210
set $mode_system · [L]ock Log[o]ut [S]uspend [R]eboot [P]oweroff ·
209211

@@ -225,6 +227,9 @@ mode "$mode_system" {
225227
# we keep a quick lock binding
226228
bindsym $mod+Control+l exec $Locker
227229

230+
# autolock
231+
# exec xautolock -notify 10 -notifier "$lockalert" -time $autolock -locker $Locker
232+
228233
# ----------------------------------------------------------------------------
229234
# Screensaver mode
230235
# ----------------------------------------------------------------------------
@@ -287,23 +292,25 @@ bindsym XF86AudioPrev exec mpc prev
287292

288293
# start a terminal
289294
bindsym $mod+Return exec $term
295+
bindsym $mod+shift+Return exec $termDetached
290296

291297
# [m]utt
292298
bindsym $mod+shift+m workspace $W3; exec $term --title "mutt" mutt
293299
bindsym $mod+m exec i3-msg '[title="mutt"] focus'
294300
bindsym XF86Mail exec i3-msg '[title="mutt"] focus'
295301

296-
# Qutebrowser ([www]/[b]rowse)
297-
bindsym $mod+shift+w exec qutebrowser
302+
# Qutebrowser ([o] for the shape of the earth de[b]ug)
303+
bindsym $mod+shift+o exec qutebrowser
298304
# for dev
299305
bindsym $mod+shift+b exec qutebrowser --enable-webengine-inspector --loglevel vdebug
300306

301-
bindsym $mod+w [class="qutebrowser"] focus
307+
bindsym $mod+o [class="qutebrowser"] focus
302308
bindcode 180 [class="qutebrowser"] focus
303309

304-
# ncmpcpp ([J]ukebox)
305-
bindsym $mod+shift+j workspace $w6; exec $term sh -c "i3-msg mark ncmpcpp && ncmpcpp"
306-
bindsym $mod+j exec i3-msg '[con_mark="ncmpcpp"] focus'
310+
# ncmpcpp ([l]ecteur)
311+
# you can move to a more logical key for you langage, like [J]ukebox
312+
bindsym $mod+shift+l workspace $w6; exec $termDetached -o font_size=10 sh -c "i3-msg mark ncmpcpp && ncmpcpp"
313+
bindsym $mod+l exec i3-msg '[con_mark="ncmpcpp"] focus'
307314

308315
# ranger ([F]iles
309316
bindsym $mod+shift+f exec $term --title "ranger" ranger
@@ -352,7 +359,7 @@ client.placeholder $bg $bg $bg $bg
352359
bar {
353360
position bottom
354361
strip_workspace_numbers yes
355-
font pango:DejaVu Sans Mono, FontAwesome 8
362+
font pango:DejaVu Sans Mono, FontAwesome 7
356363
separator_symbol "⋆"
357364

358365
status_command i3status --config ~/.config/i3/i3status.conf
@@ -368,5 +375,3 @@ bar {
368375
urgent_workspace $ac $bg $hi
369376
}
370377
}
371-
372-

0 commit comments

Comments
 (0)