Add more keys 🥰🥰🥰

This commit is contained in:
Anas Elgarhy 2022-07-11 08:02:44 +02:00
parent b9570b7334
commit 89071e4950
2 changed files with 20 additions and 7 deletions

View file

@ -25,9 +25,13 @@
| modkey + shift + d | Open dmenu (launcher) | | modkey + shift + d | Open dmenu (launcher) |
| modkey + shift + ctrl | Open rofi launcher (small size) | | modkey + shift + ctrl | Open rofi launcher (small size) |
| modkey + enter | Launche the main terminal (alacritty by default) | | modkey + enter | Launche the main terminal (alacritty by default) |
| modkey + t -> 1 | Launche the main terminal with tmux | | modkey + t -> a | Launche the alacritty terminal |
| modkey + t -> shift + a | Launche the alacritty terminal with tmux |
| modkey + t -> k | Launche the konsole terminal |
| modkey + t -> shift + k | Launche the konsole terminal with tmux |
| modkey + shift + f -> g | Launche the GUI file manger (dolphin by default) | | modkey + shift + f -> g | Launche the GUI file manger (dolphin by default) |
| modkey + shift + f -> r | Launche rofi file file browser (small size) | | modkey + shift + f -> f | Launche rofi file file browser (small size) |
| modkey + shift + f -> r | Launche ranger in the main terminal |
| modkey + w -> g | Launche google chrome browser | | modkey + w -> g | Launche google chrome browser |
| modkey + w -> t | Launche tor browser | | modkey + w -> t | Launche tor browser |
| modkey + c -> d | Launche discord | | modkey + c -> d | Launche discord |

View file

@ -24,14 +24,23 @@ static Keychord keychords[] = {
{1, {{MODKEY|ShiftMask, XK_d}}, spawn, {.v = dmenucmd } }, {1, {{MODKEY|ShiftMask, XK_d}}, spawn, {.v = dmenucmd } },
// Rofi launcher (small) // Rofi launcher (small)
{1, {{MODKEY|ShiftMask|ControlMask, XK_d}}, spawn, SHCMD("rofi -show drun") }, {1, {{MODKEY|ShiftMask|ControlMask, XK_d}}, spawn, SHCMD("rofi -show drun") },
// Start the terminal // Start the main terminal
{1, {{MODKEY, XK_Return}}, spawn, {.v = termcmd } }, {1, {{MODKEY, XK_Return}}, spawn, {.v = termcmd } },
// Start the terminal with tmux // Start the alacritty terminal
{2, {{MODKEY, XK_t}, {0, XK_1}}, spawn, SHCMD(TERMINAL " -e tmux") }, {2, {{MODKEY, XK_t}, {0, XK_a}}, spawn, SHCMD("alacritty") },
// File browsers // Start the alacritty terminal with tmux
{2, {{MODKEY, XK_t}, {ShiftMask, XK_a}}, spawn, SHCMD("alacritty -e tmux") },
// konsole
{2, {{MODKEY, XK_t}, {0, XK_k}}, spawn, SHCMD("konsole") },
// konsole with tmux
{2, {{MODKEY, XK_t}, {ShiftMask, XK_k}}, spawn, SHCMD("konsole -e tmux") },
/************************************* File browsers *************************************/
// GUI filebrowser (dolphin)
{2, {{MODKEY|ShiftMask, XK_f}, {0, XK_g}}, spawn, SHCMD(GUI_FILEMANAGER) }, {2, {{MODKEY|ShiftMask, XK_f}, {0, XK_g}}, spawn, SHCMD(GUI_FILEMANAGER) },
// Rofi file browser (small) // Rofi file browser (small)
{2, {{MODKEY|ShiftMask, XK_f}, {0, XK_r}}, spawn, SHCMD("rofi -show filebrowser") }, {2, {{MODKEY|ShiftMask, XK_f}, {0, XK_f}}, spawn, SHCMD("rofi -show filebrowser") },
// ranger
{2, {{MODKEY|ShiftMask, XK_f}, {0, XK_r}}, spawn, SHCMD(TERMINAL " -e ranger") },
/************************************* Start the web browers *************************************/ /************************************* Start the web browers *************************************/
// Google chrome stable // Google chrome stable
{2, {{MODKEY, XK_w}, {0, XK_g}}, spawn, SHCMD(WEBBROWSER) }, {2, {{MODKEY, XK_w}, {0, XK_g}}, spawn, SHCMD(WEBBROWSER) },