Merge branch 'mohammedziad599-master-patch-93182' into 'master'

make opening terminal programs more dynamic

See merge request dwt1/dotfiles!6
This commit is contained in:
Derek Taylor 2020-03-28 21:31:40 +00:00
commit d6fadbad9d
1 changed files with 14 additions and 14 deletions

View File

@ -207,7 +207,7 @@ beautiful.init(string.format(gears.filesystem.get_configuration_dir() .. "/theme
local myawesomemenu = {
{ "hotkeys", function() return false, hotkeys_popup.show_help end },
{ "manual", terminal .. " -e 'man awesome'" },
{ "edit config", "st vim /home/dt/.config/awesome/rc.lua" },
{ "edit config", terminal.." vim /home/dt/.config/awesome/rc.lua" },
{ "arandr", "arandr" },
{ "restart", awesome.restart },
}
@ -287,33 +287,33 @@ globalkeys = my_table.join(
{description = "trading programs" , group = "dmenu scripts" }),
-- My applications (Super+Alt+Key)
awful.key({ modkey, altkey }, "a", function () awful.util.spawn( "st -e ncpamixer" ) end,
awful.key({ modkey, altkey }, "a", function () awful.util.spawn( terminal.." -e ncpamixer" ) end,
{description = "ncpamixer" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "b", function () awful.util.spawn( "surf www.youtube.com/c/DistroTube" ) end,
{description = "surf web browser" , group = "gui apps" }),
awful.key({ modkey, altkey }, "c", function () awful.util.spawn( "st -e cmus" ) end,
awful.key({ modkey, altkey }, "c", function () awful.util.spawn( terminal.." -e cmus" ) end,
{description = "cmus" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "e", function () awful.util.spawn( "st -e neomutt" ) end,
awful.key({ modkey, altkey }, "e", function () awful.util.spawn( terminal.." -e neomutt" ) end,
{description = "neomutt email" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "f", function () awful.util.spawn( "st -e sh ./.config/vifm/scripts/vifmrun" ) end,
awful.key({ modkey, altkey }, "f", function () awful.util.spawn( terminal.." -e sh ./.config/vifm/scripts/vifmrun" ) end,
{description = "vifm" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "i", function () awful.util.spawn( "st -e irssi" ) end,
awful.key({ modkey, altkey }, "i", function () awful.util.spawn( terminal.." -e irssi" ) end,
{description = "irssi" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "j", function () awful.util.spawn( "st -e joplin" ) end,
awful.key({ modkey, altkey }, "j", function () awful.util.spawn( terminal.." -e joplin" ) end,
{description = "joplin" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "l", function () awful.util.spawn( "st -e lynx --cfg=~/.lynx/lynx.cfg --lss=~/.lynx/lynx.lss -vikeys gopher://distro.tube" ) end,
awful.key({ modkey, altkey }, "l", function () awful.util.spawn( terminal.." -e lynx --cfg=~/.lynx/lynx.cfg --lss=~/.lynx/lynx.lss -vikeys gopher://distro.tube" ) end,
{description = "lynx cli browser" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "m", function () awful.util.spawn( "st -e toot curses" ) end,
awful.key({ modkey, altkey }, "m", function () awful.util.spawn( terminal.." -e toot curses" ) end,
{description = "toot curses" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "n", function () awful.util.spawn( "st -e newsboat" ) end,
awful.key({ modkey, altkey }, "n", function () awful.util.spawn( terminal.." -e newsboat" ) end,
{description = "newsboat" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "p", function () awful.util.spawn( "st -e pianobar" ) end,
awful.key({ modkey, altkey }, "p", function () awful.util.spawn( terminal.." -e pianobar" ) end,
{description = "pianobar" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "r", function () awful.util.spawn( "st -e rtv" ) end,
awful.key({ modkey, altkey }, "r", function () awful.util.spawn( terminal.." -e rtv" ) end,
{description = "rtv" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "w", function () awful.util.spawn( "st -e wopr report.xml" ) end,
awful.key({ modkey, altkey }, "w", function () awful.util.spawn( terminal.." -e wopr report.xml" ) end,
{description = "wopr report.xml" , group = "terminal apps" }),
awful.key({ modkey, altkey }, "y", function () awful.util.spawn( "st -e youtube-viewer" ) end,
awful.key({ modkey, altkey }, "y", function () awful.util.spawn( terminal.." -e youtube-viewer" ) end,
{description = "youtube-viewer" , group = "terminal apps" }),
-- screenshots