From 58e22e07452056f8ca971f879a96dc1c7444b4cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 11 Mar 2024 11:21:39 +0300 Subject: change sound volume step to 2% from 5% --- dotfiles/.config/sway/config | 15 ++++++++++----- dotfiles/.config/waybar/config | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index b419f54..cb3623e 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -114,7 +114,7 @@ for_window [class="Pavucontrol"] floating enable for_window [class="^qt5ct$"] floating enable, sticky enable for_window [class="(?i)System-config-printer.py"] floating enable for_window [title="wl-clipboard"] floating enable -for_window [class="GLava"] border none +for_window [class="GLava"] border none, blur disable, shadows disable for_window [app_id=".*telegram.*"] sticky enable for_window [app_id="zoom"] floating enable @@ -150,6 +150,11 @@ input 1118:2083:Microsoft_Microsoft___Classic_IntelliMouse__ { pointer_accel 0.5 } +input 1133:49298:Logitech_G102_LIGHTSYNC_Gaming_Mouse { + accel_profile flat + pointer_accel -0.3 +} + # Keymaps input * { xkb_layout "us,es,ru" @@ -372,8 +377,8 @@ bindsym --to-code { $mod+XF86AudioPrev exec exremote "lmc prev" $mod+XF86AudioPlay exec exremote "lmc toggle" $mod+XF86AudioNext exec exremote "lmc next" - $mod+XF86AudioRaiseVolume exec exremote "lmc up 5" - $mod+XF86AudioLowerVolume exec exremote "lmc down 5" + $mod+XF86AudioRaiseVolume exec exremote "lmc up 2" + $mod+XF86AudioLowerVolume exec exremote "lmc down 2" $mod+XF86AudioMute exec exremote "lmc mute" $mod+Ctrl+Shift+F5 exec exremote "lmc back 5" @@ -399,8 +404,8 @@ bindsym --to-code --locked { XF86AudioPrev exec "lmc prev" XF86AudioPlay exec "lmc toggle" XF86AudioNext exec "lmc next" - XF86AudioRaiseVolume exec lmc up 5 - XF86AudioLowerVolume exec lmc down 5 + XF86AudioRaiseVolume exec lmc up 2 + XF86AudioLowerVolume exec lmc down 2 XF86AudioMute exec lmc mute $mod+Shift+F5 exec lmc back 5 diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config index 94839e5..1422b05 100644 --- a/dotfiles/.config/waybar/config +++ b/dotfiles/.config/waybar/config @@ -159,7 +159,7 @@ "format": "" }, "pulseaudio": { - "scroll-step": 5, // %, can be a float + "scroll-step": 2, // %, can be a float "format": "{icon} {volume}%", "format-bluetooth": "{icon} {volume}% {format_source}", "format-muted": "", -- cgit v1.2.3