From a6de51570dda3f3a5dc9165376309933879f0ab7 Mon Sep 17 00:00:00 2001 From: araison Date: Sat, 27 Jan 2024 21:35:37 +0100 Subject: [PATCH 1/3] Fix bug brightness and volume hotkeys + notification --- i3/.config/i3/config | 10 +++++----- i3status/.config/i3status/config | 7 +++++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 91c9bf6..ade367b 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 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" +} From 31ae08ced21680609db846eb550129d1f7db8ef3 Mon Sep 17 00:00:00 2001 From: araison Date: Sun, 28 Jan 2024 12:40:03 +0100 Subject: [PATCH 2/3] Adding obsidian in i3 config --- i3/.config/i3/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index ade367b..2829f01 100755 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -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 From 46de3b857c64b2d95d01050482a65c7715c6f678 Mon Sep 17 00:00:00 2001 From: araison Date: Wed, 31 Jan 2024 14:31:39 +0100 Subject: [PATCH 3/3] Updating README.md --- README.md | 1 - 1 file changed, 1 deletion(-) 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