mirror of
https://github.com/WarrenHood/dotfiles.git
synced 2025-04-29 20:24:59 +01:00
Get multimedia controls on my keyboard working - mainly for spotify
This commit is contained in:
parent
5b18591e53
commit
1d7f433483
|
@ -258,6 +258,12 @@ root.buttons(gears.table.join(
|
|||
|
||||
-- {{{ Key bindings
|
||||
globalkeys = gears.table.join(
|
||||
-- Make multimedia keys work properly - mainly for spotify
|
||||
awful.key({}, "XF86AudioPlay", function() awful.util.spawn("playerctl play-pause") end),
|
||||
awful.key({}, "XF86AudioStop", function() awful.util.spawn("playerctl play-pause") end),
|
||||
awful.key({}, "XF86AudioPrev", function() awful.util.spawn("playerctl previous") end),
|
||||
awful.key({}, "XF86AudioNext", function() awful.util.spawn("playerctl next") end),
|
||||
|
||||
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
|
||||
{ description = "show help", group = "awesome" }),
|
||||
awful.key({ modkey, }, "Left", awful.tag.viewprev,
|
||||
|
|
2
setup
2
setup
|
@ -12,7 +12,7 @@ else
|
|||
echo "Updating Arch"
|
||||
sudo pacman -Syyu
|
||||
echo "Installing tools/utils"
|
||||
sudo pacman -S ripgrep fd neovim make stow tmux awesome dmenu arandr autorandr volumeicon picom nitrogen network-manager-applet lxsession thunar lxappearance-gtk3 power-profiles-daemon thermald acpi arc-icon-theme
|
||||
sudo pacman -S ripgrep fd neovim make stow tmux awesome dmenu arandr autorandr volumeicon picom nitrogen network-manager-applet lxsession thunar lxappearance-gtk3 power-profiles-daemon thermald acpi arc-icon-theme playerctl
|
||||
|
||||
sudo systemctl enable --now power-profiles-daemon
|
||||
sudo thermald --systemd
|
||||
|
|
Loading…
Reference in a new issue