diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 64d8e42..07a35aa 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -266,27 +266,26 @@ globalkeys = my_table.join( -- {{{ Personal keybindings -- dmenu - awful.key({ modkey, "Shift" }, "Return", + awful.key({ altkey, "Control" }, "Return", function () awful.spawn(string.format("dmenu_run -i -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -fn 'UbuntuMono Nerd Font:bold:pixelsize=14'", beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) end, {description = "show dmenu", group = "hotkeys"}), - -- My dmenu scripts - - awful.key({ modkey, "Shift" }, "e", function () awful.util.spawn( "./.dmenu/dmenu-edit-configs.sh" ) end, + -- My dmenu scripts (Alt+Ctrl+Key) + awful.key({ altkey, "Control" }, "e", function () awful.util.spawn( "./.dmenu/dmenu-edit-configs.sh" ) end, {description = "edit config files" , group = "dmenu scripts" }), - awful.key({ modkey, "Shift" }, "m", function () awful.util.spawn( "./.dmenu/dmenu-sysmon.sh" ) end, + awful.key({ altkey, "Control" }, "m", function () awful.util.spawn( "./.dmenu/dmenu-sysmon.sh" ) end, {description = "system monitoring apps" , group = "dmenu scripts" }), - awful.key({ modkey, "Shift" }, "p", function () awful.util.spawn( "passmenu" ) end, + awful.key({ altkey, "Control" }, "p", function () awful.util.spawn( "passmenu" ) end, {description = "passmenu" , group = "dmenu scripts" }), - awful.key({ modkey, "Shift" }, "s", function () awful.util.spawn( "./.dmenu/dmenu-surfraw.sh" ) end, + awful.key({ altkey, "Control" }, "s", function () awful.util.spawn( "./.dmenu/dmenu-surfraw.sh" ) end, {description = "surfraw web search" , group = "dmenu scripts" }), - awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn( "./.dmenu/dmenu-trading.sh" ) end, + awful.key({ altkey, "Control" }, "t", function () awful.util.spawn( "./.dmenu/dmenu-trading.sh" ) end, {description = "trading programs" , group = "dmenu scripts" }), - -- My applications + -- My applications (Super+Alt+Key) awful.key({ modkey, altkey }, "a", function () awful.util.spawn( "st -e ncpamixer" ) end, {description = "ncpamixer" , group = "terminal apps" }), awful.key({ modkey, altkey }, "b", function () awful.util.spawn( "surf www.youtube.com/c/DistroTube" ) end, @@ -303,7 +302,7 @@ globalkeys = my_table.join( {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, {description = "lynx cli browser" , group = "terminal apps" }), - awful.key({ modkey, altkey }, "m", function () awful.util.spawn( "st -e sh ./scripts/toot.sh" ) end, + awful.key({ modkey, altkey }, "m", function () awful.util.spawn( "st -e toot curses" ) end, {description = "toot curses" , group = "terminal apps" }), awful.key({ modkey, altkey }, "n", function () awful.util.spawn( "st -e newsboat" ) end, {description = "newsboat" , group = "terminal apps" }), diff --git a/.xmonad/xmonad.hs b/.xmonad/xmonad.hs index c6f9f6d..136a28b 100755 --- a/.xmonad/xmonad.hs +++ b/.xmonad/xmonad.hs @@ -191,47 +191,31 @@ myKeys = , ("M-C-", namedScratchpadAction myScratchPads "terminal") , ("M-C-c", namedScratchpadAction myScratchPads "cmus") - -- Main Run Apps + -- Open Terminal , ("M-", spawn myTerminal) - , ("M-", spawn "dmenu_run -fn 'UbuntuMono Nerd Font:size=10' -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -p 'dmenu:'") - - -- Command Line Apps (MOD + KEYPAD 1-9) - , ("M-", spawn (myTerminal ++ " -e lynx -cfg=~/.lynx/lynx.cfg -lss=~/.lynx/lynx.lss gopher://distro.tube")) -- Keypad 1 - , ("M-", spawn (myTerminal ++ " -e sh ./scripts/googler-script.sh")) -- Keypad 2 - , ("M-", spawn (myTerminal ++ " -e newsboat")) -- Keypad 3 - , ("M-", spawn (myTerminal ++ " -e rtv")) -- Keypad 4 - , ("M-", spawn (myTerminal ++ " -e neomutt")) -- Keypad 5 - , ("M-", spawn (myTerminal ++ " -e twitch-curses")) -- Keypad 6 - , ("M-", spawn (myTerminal ++ " -e sh ./scripts/haxor-news.sh")) -- Keypad 7 - , ("M-", spawn (myTerminal ++ " -e toot curses")) -- Keypad 8 - , ("M-", spawn (myTerminal ++ " -e sh ./scripts/tig-script.sh")) -- Keypad 9 - - -- Command Line Apps (MOD + SHIFT + KEYPAD 1-9) - , ("M-S-", spawn (myTerminal ++ " -e ~/.config/vifm/scripts/vifmrun")) -- Keypad 1 - , ("M-S-", spawn (myTerminal ++ " -e joplin")) -- Keypad 2 - , ("M-S-", spawn (myTerminal ++ " -e cmus")) -- Keypad 3 - , ("M-S-", spawn (myTerminal ++ " -e irssi")) -- Keypad 4 - , ("M-S-", spawn (myTerminal ++ " -e rtorrent")) -- Keypad 5 - , ("M-S-", spawn (myTerminal ++ " -e youtube-viewer")) -- Keypad 6 - , ("M-S-", spawn (myTerminal ++ " -e ncpamixer")) -- Keypad 7 - , ("M-S-", spawn (myTerminal ++ " -e calcurse")) -- Keypad 8 - , ("M-S-", spawn (myTerminal ++ " -e vim ~/.xmonad/xmonad.hs")) -- Keypad 9 - - -- Command Line Apps (MOD + CTRL + KEYPAD 1-9) - , ("M-C-", spawn (myTerminal ++ " -e htop")) -- Keypad 1 - , ("M-C-", spawn (myTerminal ++ " -e gtop")) -- Keypad 2 - , ("M-C-", spawn (myTerminal ++ " -e nmon")) -- Keypad 3 - , ("M-C-", spawn (myTerminal ++ " -e glances")) -- Keypad 4 - , ("M-C-", spawn (myTerminal ++ " -e s-tui")) -- Keypad 5 - , ("M-C-", spawn (myTerminal ++ " -e httping -KY --draw-phase localhost")) -- Keypad 6 - , ("M-C-", spawn (myTerminal ++ " -e cmatrix -C cyan")) -- Keypad 7 - , ("M-C-", spawn (myTerminal ++ " -e pianobar")) -- Keypad 8 - , ("M-C-", spawn (myTerminal ++ " -e wopr report.xml")) -- Keypad 9 - - -- GUI Apps - , ("M-b", spawn "surf http://www.youtube.com/c/DistroTube/") - , ("M-f", spawn "pcmanfm") - , ("M-g", runOrRaise "geany" (resource =? "geany")) + + -- Dmenu Scripts (Alt+Ctr+Key) + , ("M1-C-", spawn "dmenu_run -fn 'UbuntuMono Nerd Font:size=10' -nb '#292d3e' -nf '#bbc5ff' -sb '#82AAFF' -sf '#292d3e' -p 'dmenu:'") + , ("M1-C-e", spawn "./.dmenu/dmenu-edit-configs.sh") + , ("M1-C-m", spawn "./.dmenu/dmenu-sysmon.sh") + , ("M1-C-p", spawn "passmenu") + , ("M1-C-s", spawn "./.dmenu/dmenu-surfraw.sh") + + -- My Applications (Super+Alt+Key) + , ("M-M1-a", spawn (myTerminal ++ " -e ncpamixer")) + , ("M-M1-b", spawn ("surf www.youtube.com/c/DistroTube/")) + , ("M-M1-c", spawn (myTerminal ++ " -e cmus")) + , ("M-M1-e", spawn (myTerminal ++ " -e neomutt")) + , ("M-M1-f", spawn (myTerminal ++ " -e sh ./.config/vifm/scripts/vifmrun")) + , ("M-M1-i", spawn (myTerminal ++ " -e irssi")) + , ("M-M1-j", spawn (myTerminal ++ " -e joplin")) + , ("M-M1-l", spawn (myTerminal ++ " -e lynx -cfg=~/.lynx/lynx.cfg -lss=~/.lynx/lynx.lss gopher://distro.tube")) + , ("M-M1-m", spawn (myTerminal ++ " -e toot curses")) + , ("M-M1-n", spawn (myTerminal ++ " -e newsboat")) + , ("M-M1-p", spawn (myTerminal ++ " -e pianobar")) + , ("M-M1-r", spawn (myTerminal ++ " -e rtv")) + , ("M-M1-w", spawn (myTerminal ++ " -e wopr report.xml")) + , ("M-M1-y", spawn (myTerminal ++ " -e youtube-viewer")) -- Multimedia Keys , ("", spawn "cmus toggle")