update mediakeys for play/pause stuff

This commit is contained in:
Alex Kelly 2022-10-12 16:55:14 -04:00
parent e391a69471
commit d59cf1dbf5
2 changed files with 6 additions and 3 deletions

View file

@ -35,9 +35,6 @@ exec --no-startup-id firefox
# since I'm using thunderbird now, let's pause the neomutt start # since I'm using thunderbird now, let's pause the neomutt start
# Create a kitty workspace for mail # Create a kitty workspace for mail
#exec --no-startup-id "kitty --name mail neomutt" #exec --no-startup-id "kitty --name mail neomutt"
# I still want a terminal to start by default, so to minimize the changes, I am going to "stupidly"
# reuse the mail terminal name, and just start a terminal w/o mutt
exec --no-startup-id "kitty --name mail"
# start the auto run .desktop files # start the auto run .desktop files
exec --no-startup-id dex-autostart --autostart --environment i3 exec --no-startup-id dex-autostart --autostart --environment i3

View file

@ -16,6 +16,12 @@ bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ to
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
bindsym XF86AudioPause exec --no-startup-id mpc toggle bindsym XF86AudioPause exec --no-startup-id mpc toggle
#Bind media player buttons
bindsym XF86AudioPlay exec "~/bin/mediakeys.sh play-pause";
bindsym XF86AudioStop exec "~/bin/mediakeys.sh stop";
bindsym XF86AudioPrev exec "~/bin/mediakeys.sh previous";
bindsym XF86AudioNext exec "~/bin/mediakeys.sh next";
# display clipboard contents via rofi # display clipboard contents via rofi
bindsym Control+$alt+h exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' bindsym Control+$alt+h exec rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'