diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-30 15:55:02 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-06-30 15:55:02 +0530 |
commit | 9a1fc69258873bc75987944db121954ea2ebda3f (patch) | |
tree | 0e832b890c6ee8aef8ff88166b8919b07389c17c /.config/awesome/rc.lua | |
parent | b011071da89f9e464e670ac9af50083d499a171e (diff) |
finally added almost all of my fav. keybindings
Diffstat (limited to '.config/awesome/rc.lua')
-rw-r--r-- | .config/awesome/rc.lua | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 7ca3792..3c01f4a 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -247,13 +247,32 @@ local my_i_keys = { { "p", function() awful.spawn.with_shell("pavucontrol") end, "Pavucontrol" }, { "v", function() awful.spawn.with_shell("virtualbox") end, "VirtualBox" }, { "c", function() awful.spawn.with_shell("scrcpy") end, "scrcpy" }, - { "v", function() awful.spawn.with_shell("vlc") end, "VLC" } + { "e", function() awful.spawn.with_shell("thunderbird") end, "Thunderbird" } } +local media_apps = { + { "g", function() awful.spawn.with_shell("gimp") end, "GIMP" }, + { "o", function() awful.spawn.with_shell("obs") end, "OBS" }, + { "v", function() awful.spawn.with_shell("vlc") end, "VLC" }, + { "k", function() awful.spawn.with_shell("kdenlive") end, "Kdenlive" }, + { "i", function() awful.spawn.with_shell("inkscape") end, "Inkscape" } +} -globalkeys = gears.table.join( - awful.key({ modkey }, "i", function() modalbind.grab{keymap=my_i_keys, name="Apps", stay_in_mode=false} end), +mykeys = gears.table.join( + awful.key({ modkey }, "i", function() modalbind.grab{keymap=my_i_keys, name="Apps", stay_in_mode=false} end, + {description="My Apps", groups="My Keys"}), + awful.key({ modkey }, "m", function() modalbind.grab{keymap=media_apps, name="Media", stay_in_mode=false} end, + {description="Media Apps", groups="My Keys"}), + awful.key({ modkey }, "o", function() awful.spawn.with_shell("pcmanfm") end, + {description="pcmanfm", group="My Keys"}), + awful.key({ modkey }, "y", function() awful.spawn.with_shell("gimp") end, + {description="GIMP", group="My Keys"}), + awful.key({ modkey }, "m", function() awful.spawn.with_shell("vlc") end, + {description="VLC", group="My Keys"}) +) +globalkeys = gears.table.join( + mykeys, awful.key({ modkey, }, "F1", hotkeys_popup.show_help, {description="show help", group="awesome"}), awful.key({ not_modkey, }, "h", awful.tag.viewprev, @@ -410,6 +429,8 @@ clientkeys = gears.table.join( awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end, {description = "close", group = "client"}), + awful.key({ not_modkey }, "w", function (c) c:kill() end, + {description = "close", group = "client"}), awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end, {description = "move to master", group = "client"}), |