Compare commits
No commits in common. "04df8c2e87138b74947e450bfa3af5efe9b06246" and "955684b8e10d7d965e6c11d5ffdf13f0ccd4226d" have entirely different histories.
04df8c2e87
...
955684b8e1
@ -18,9 +18,6 @@ local hotkeys_popup = require("awful.hotkeys_popup")
|
|||||||
-- when client with a matching name is opened:
|
-- when client with a matching name is opened:
|
||||||
require("awful.hotkeys_popup.keys")
|
require("awful.hotkeys_popup.keys")
|
||||||
|
|
||||||
-- volume import
|
|
||||||
local volume_widget = require("awesome-wm-widgets.volume-widget.volume")
|
|
||||||
|
|
||||||
-- {{{ Error handling
|
-- {{{ Error handling
|
||||||
-- Check if awesome encountered an error during startup and fell back to
|
-- Check if awesome encountered an error during startup and fell back to
|
||||||
-- another config (This code will only ever execute for the fallback config)
|
-- another config (This code will only ever execute for the fallback config)
|
||||||
@ -216,7 +213,6 @@ awful.screen.connect_for_each_screen(function(s)
|
|||||||
mykeyboardlayout,
|
mykeyboardlayout,
|
||||||
wibox.widget.systray(),
|
wibox.widget.systray(),
|
||||||
mytextclock,
|
mytextclock,
|
||||||
volume_widget({display_notification = true}),
|
|
||||||
s.mylayoutbox,
|
s.mylayoutbox,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -421,26 +417,7 @@ for i = 1, 9 do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
{description = "toggle focused client on tag #" .. i, group = "tag"}),
|
{description = "toggle focused client on tag #" .. i, group = "tag"})
|
||||||
awful.key({}, "XF86AudioLowerVolume", function ()
|
|
||||||
awful.util.spawn("amixer -q -D pulse sset Master 5%-", false)
|
|
||||||
end),
|
|
||||||
awful.key({}, "XF86AudioRaiseVolume", function ()
|
|
||||||
awful.util.spawn("amixer -q -D pulse sset Master 5%+", false)
|
|
||||||
end),
|
|
||||||
awful.key({}, "XF86AudioMute", function ()
|
|
||||||
awful.util.spawn("amixer -D pulse set Master 1+ toggle", false)
|
|
||||||
end),
|
|
||||||
-- Media Keys
|
|
||||||
awful.key({}, "XF86AudioPlay", function()
|
|
||||||
awful.util.spawn("playerctl play-pause", false)
|
|
||||||
end),
|
|
||||||
awful.key({}, "XF86AudioNext", function()
|
|
||||||
awful.util.spawn("playerctl next", false)
|
|
||||||
end),
|
|
||||||
awful.key({}, "XF86AudioPrev", function()
|
|
||||||
awful.util.spawn("playerctl previous", false)
|
|
||||||
end)
|
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user