aboutsummaryrefslogtreecommitdiff
path: root/awesome/.config/awesome/rc.lua
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2023-01-15 00:49:40 +0200
committeromagdy7 <omar.professional8777@gmail.com>2023-01-15 00:49:40 +0200
commitee7df6df54d2233a6066b2d7e5cf18002dd6788e (patch)
tree6f141068e209162674190515bd34bfbb79ab30b5 /awesome/.config/awesome/rc.lua
parent1b3a35e0792004a68df017fb50eba08f253860ae (diff)
downloaddotfiles-ee7df6df54d2233a6066b2d7e5cf18002dd6788e.tar.xz
dotfiles-ee7df6df54d2233a6066b2d7e5cf18002dd6788e.zip
Added some blurring to terminal windows + cleaned up some stuff in rc.lua and add a fuzzy finder function to quickly cd into directories
Diffstat (limited to 'awesome/.config/awesome/rc.lua')
-rw-r--r--awesome/.config/awesome/rc.lua13
1 files changed, 11 insertions, 2 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index ec80afe..437ecae 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -288,7 +288,7 @@ awful.screen.connect_for_each_screen(function(s) beautiful.at_screen_connect(s)
-- {{{ Key bindings
globalkeys = my_table.join(
-- super + ... function keys
- awful.key({ modkey }, "r",
+ awful.key({ modkey }, "d",
function ()
awful.spawn(string.format("dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn NotoMonoRegular:bold:pixelsize=14",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
@@ -296,6 +296,8 @@ globalkeys = my_table.join(
{description = "show dmenu", group = "hotkeys"}),
awful.key({ modkey }, "b", function () awful.util.spawn( browser1 ) end,
{description = browser1, group = "function keys"}),
+ awful.key({ modkey }, "r", function () awful.util.spawn( "kitty -e ranger" ) end,
+ {description = "launch ranger", group = "function keys"}),
awful.key({ modkey }, "f", function() awful.util.spawn( filemanager ) end,
{description = filemanager, group = "alt+ctrl"}),
awful.key({ altkey }, "c", function () awful.spawn( "/home/peng/.scripts/pscontests.sh" ) end,
@@ -304,6 +306,8 @@ globalkeys = my_table.join(
{description = "set random wallpaper" , group = "hotkeys"}),
awful.key({ altkey }, "d", function () awful.spawn( "/home/peng/.scripts/dmenuscripts.sh" ) end,
{description = "books" , group = "hotkeys"}),
+ awful.key({ altkey }, "p", function () awful.spawn( "/home/peng/.scripts/power.sh" ) end,
+ {description = "books" , group = "hotkeys"}),
awful.key({ modkey }, "o", function () awful.util.spawn( "rofi -show drun" ) end,
{description = "rofi" , group = "function keys" }),
@@ -315,6 +319,11 @@ globalkeys = my_table.join(
-- super + shift + ...
awful.key({ modkey, "Shift" }, "Return", function() awful.util.spawn( filemanager ) end),
+ awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn( "kitty -e nvim /tmp/temp.txt" ) end,
+ {description = "launch a temp file in nvim", group = "super+shift"}),
+ awful.key({ modkey, "Shift" }, "c", function () awful.util.spawn( "/home/peng/.scripts/config_files.sh" ) end,
+ {description = "dmenu with config files", group = "super+shift"}),
+
-- ctrl+alt + ...
@@ -345,7 +354,6 @@ globalkeys = my_table.join(
-- Hotkeys Awesome
awful.key({ modkey, }, "s", hotkeys_popup.show_help,
{description = "show help", group="awesome"}),
-
-- Tag browsing with modkey
awful.key({ modkey, }, "Left", awful.tag.viewprev,
{description = "view previous", group = "tag"}),
@@ -458,6 +466,7 @@ globalkeys = my_table.join(
{description = "focus right", group = "client"}),
+
-- Layout manipulation
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
{description = "swap with next client by index", group = "client"}),