diff options
author | Yigit Sever | 2019-03-20 22:22:00 +0300 |
---|---|---|
committer | Yigit Sever | 2019-03-20 22:22:00 +0300 |
commit | bca2085eedfddda25f706f66f141a2b298051b53 (patch) | |
tree | 6c2e9496fa9b44468a9bd08aa3158835fb880d5c /.config/i3/config##desktop.Linux.Maus | |
parent | b1f5da829f7439aa2f27cbe8ac7de42b750654d2 (diff) | |
download | dotfiles-bca2085eedfddda25f706f66f141a2b298051b53.tar.gz dotfiles-bca2085eedfddda25f706f66f141a2b298051b53.tar.bz2 dotfiles-bca2085eedfddda25f706f66f141a2b298051b53.zip |
i3 work with volnoti to show volume indicator
Diffstat (limited to '.config/i3/config##desktop.Linux.Maus')
-rw-r--r-- | .config/i3/config##desktop.Linux.Maus | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.config/i3/config##desktop.Linux.Maus b/.config/i3/config##desktop.Linux.Maus index 043eff8..8edaad2 100644 --- a/.config/i3/config##desktop.Linux.Maus +++ b/.config/i3/config##desktop.Linux.Maus | |||
@@ -57,11 +57,10 @@ bindsym $mod+p exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -optio | |||
57 | bindsym Print exec flameshot gui | 57 | bindsym Print exec flameshot gui |
58 | 58 | ||
59 | # media keys | 59 | # media keys |
60 | bindsym $mod+m exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" | 60 | bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
61 | bindsym $mod+Up exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" | 61 | bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" |
62 | bindsym $mod+Down exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" | 62 | bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" |
63 | bindsym $mod+q exec mpc toggle | 63 | bindsym $mod+q exec mpc toggle |
64 | #bindsym XF86AudioStop exec mpc stop | ||
65 | bindsym $mod+Left exec /home/yigit/bin/mpvPrev | 64 | bindsym $mod+Left exec /home/yigit/bin/mpvPrev |
66 | bindsym $mod+Right exec mpc next | 65 | bindsym $mod+Right exec mpc next |
67 | 66 | ||