summaryrefslogtreecommitdiffstats
path: root/.config/i3
diff options
context:
space:
mode:
authorYigit Sever2019-03-20 22:22:00 +0300
committerYigit Sever2019-03-20 22:22:00 +0300
commitbca2085eedfddda25f706f66f141a2b298051b53 (patch)
tree6c2e9496fa9b44468a9bd08aa3158835fb880d5c /.config/i3
parentb1f5da829f7439aa2f27cbe8ac7de42b750654d2 (diff)
downloaddotfiles-bca2085eedfddda25f706f66f141a2b298051b53.tar.gz
dotfiles-bca2085eedfddda25f706f66f141a2b298051b53.tar.bz2
dotfiles-bca2085eedfddda25f706f66f141a2b298051b53.zip
i3 work with volnoti to show volume indicator
Diffstat (limited to '.config/i3')
l---------.config/i3/config1
-rw-r--r--.config/i3/config##desktop.Linux.Lowe9
-rw-r--r--.config/i3/config##desktop.Linux.Maus7
3 files changed, 10 insertions, 7 deletions
diff --git a/.config/i3/config b/.config/i3/config
new file mode 120000
index 0000000..10f87dd
--- /dev/null
+++ b/.config/i3/config
@@ -0,0 +1 @@
/home/yigit/.config/i3/config##desktop.Linux.Lowe \ No newline at end of file
diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe
index 54e038c..0a940ab 100644
--- a/.config/i3/config##desktop.Linux.Lowe
+++ b/.config/i3/config##desktop.Linux.Lowe
@@ -36,9 +36,12 @@ bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -opt
36bindsym Print exec flameshot gui 36bindsym Print exec flameshot gui
37 37
38# media keys 38# media keys
39bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" 39bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
40bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" 40bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
41bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" 41bindsym XF86AudioMute 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"
42#bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle"
43#bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%"
44#bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%"
42bindsym XF86AudioPlay exec mpc toggle 45bindsym XF86AudioPlay exec mpc toggle
43bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh 46bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh
44bindsym XF86AudioNext exec mpc next 47bindsym XF86AudioNext exec mpc next
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
57bindsym Print exec flameshot gui 57bindsym Print exec flameshot gui
58 58
59# media keys 59# media keys
60bindsym $mod+m exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" 60bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
61bindsym $mod+Up exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" 61bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)"
62bindsym $mod+Down exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" 62bindsym $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"
63bindsym $mod+q exec mpc toggle 63bindsym $mod+q exec mpc toggle
64#bindsym XF86AudioStop exec mpc stop
65bindsym $mod+Left exec /home/yigit/bin/mpvPrev 64bindsym $mod+Left exec /home/yigit/bin/mpvPrev
66bindsym $mod+Right exec mpc next 65bindsym $mod+Right exec mpc next
67 66