diff --git a/README.md b/README.md index aa4a628..4ec0576 100644 --- a/README.md +++ b/README.md @@ -5,5 +5,4 @@ Please use : Also : - [ ] Create nice tmux.conf -- [ ] fix brightnessctl issue diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 91c9bf6..2829f01 100755 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -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 diff --git a/i3status/.config/i3status/config b/i3status/.config/i3status/config index 4ff0e5a..78369b5 100755 --- a/i3status/.config/i3status/config +++ b/i3status/.config/i3status/config @@ -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" +}