Update script paths and remove dead keybinds to scripts

This commit is contained in:
elenapan 2020-04-10 20:28:30 +03:00
parent b625ca04d6
commit 4534055094
4 changed files with 4 additions and 20 deletions

View file

@ -37,10 +37,10 @@ apps.lutris = function ()
helpers.run_or_raise({class = 'Lutris'}, false, "lutris")
end
apps.youtube = function ()
awful.spawn.with_shell("~/scr/Rofi/rofi_mpvtube")
awful.spawn.with_shell("rofi_mpvtube")
end
apps.networks = function ()
awful.spawn.with_shell("~/bin/networks-rofi")
awful.spawn.with_shell("rofi_networks")
end
apps.passwords = function ()
helpers.run_or_raise({class = 'KeePassXC'}, true, "keepassxc")

View file

@ -135,13 +135,6 @@ playerctl_toggle_icon:buttons(gears.table.join(
end),
awful.button({ }, 3, function ()
awful.spawn.with_shell("mpvc toggle")
end),
awful.button({ }, 8, function ()
sidebar.visible = false
awful.spawn.with_shell("~/scr/Rofi/rofi_mpvtube")
end),
awful.button({ }, 9, function ()
awful.spawn.with_shell("~/scr/info/mpv-query.sh")
end)
))

View file

@ -541,14 +541,12 @@ keys.globalkeys = gears.table.join(
-- Quick edit file
awful.key({ superkey, shiftkey }, "e",
function()
awful.spawn.with_shell("~/scr/Rofi/rofi_edit")
awful.spawn.with_shell("rofi_edit")
end,
{description = "quick edit file", group = "launcher"}),
-- Rofi youtube search and playlist selector
awful.key({ superkey }, "y", apps.youtube,
{description = "youtube search and play", group = "launcher"}),
-- mpvtube song
awful.key({ superkey, shiftkey }, "y", function() awful.spawn.with_shell("~/scr/info/mpv-query.sh") end,
{description = "show mpv media title", group = "launcher"}),
-- Spawn file manager
awful.key({ superkey, shiftkey }, "f", apps.file_manager,
{description = "file manager", group = "launcher"}),

View file

@ -47,13 +47,6 @@ mpd_toggle_icon:buttons(gears.table.join(
end),
awful.button({ }, 3, function ()
awful.spawn.with_shell("mpvc toggle")
end),
awful.button({ }, 8, function ()
sidebar.visible = false
awful.spawn.with_shell("~/scr/Rofi/rofi_mpdtube")
end),
awful.button({ }, 9, function ()
awful.spawn.with_shell("~/scr/info/mpd-query.sh")
end)
))