Merge branch 'master' of gitlab.xlim.fr:araison/dotfiles

This commit is contained in:
araison 2024-04-28 12:49:28 +02:00
commit de65373294
3 changed files with 14 additions and 6 deletions

View File

@ -5,5 +5,4 @@ Please use :
Also :
- [ ] Create nice tmux.conf
- [ ] fix brightnessctl issue

View File

@ -130,13 +130,13 @@ mode "resize" {
bindsym $mod+r mode "resize"
# Audio
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
bindsym F3 exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym F2 exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym F4 exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
#Brightness
bindsym XF86MonBrightnessUp exec brightnessctl s 10%+
bindsym XF86MonBrightnessDown exec brightnessctl s 10%-
bindsym F6 exec --no-startup-id brightnessctl set 10%+; exec notify-send --expire-time=100 "LCD Backlight $(printf %.0f%% $(brightnessctl g))"
bindsym F5 exec --no-startup-id brightnessctl set 10%-; exec notify-send --expire-time=100 "LCD Backlight $(printf %.0f%% $(brightnessctl g))"
# Capture d'écran
bindsym Print exec flameshot gui
@ -198,6 +198,7 @@ assign [class="Gnome-terminal"] $ws1
assign [class="firefox"] $ws2
assign [class="thunderbird"] $ws3
assign [class="Nautilus"] $ws4
assign [class="obsidian"] $ws5
# bar
@ -244,6 +245,7 @@ exec --no-startup-id firefox
exec --no-startup-id thunderbird
exec --no-startup-id gnome-terminal -x zsh -c "tmux";exec zsh""
exec --no-startup-id nautilus
exec --no-startup-id obsidian
# I3 Gaps

View File

@ -9,6 +9,7 @@ order += "memory"
order += "load"
order += "tztime local"
order += "battery 0"
order += "volume master"
tztime local {
@ -53,3 +54,9 @@ read_file uptime {
path = "/proc/uptime"
separator = true
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "pulse:1"
}