Add obsidian shortcur and add stickyeys script to auto run stuff

This commit is contained in:
Anas Elgarhy 2022-07-16 11:53:10 +02:00
parent 11b78b17b6
commit ce45d2bb6e
3 changed files with 7 additions and 3 deletions

View File

@ -36,6 +36,7 @@
| modkey + w -> g | Launche google chrome browser |
| modkey + w -> t | Launche tor browser |
| modkey + c -> d | Launche discord |
| modkey + c -> o | Launche obsidian |
| modkey + a -> j | Launche jetbrains-toolbox |
| modkey + a -> n | Launche NeoVim in the main terminal |
| modkey + a -> v | Launche Vim in the main terminal |
@ -112,6 +113,7 @@
- `picom` compositor , for transparency
- `nitrogen` for set the wallpaper
- `copyq` clipboard manager
- `obsidian`
> \*\*: build dependencie.

View File

@ -35,7 +35,7 @@ static const char *const autostart[] = {
// Keyboard layouts switch (requires setxkbmap)
"setxkbmap", "-model", "pc101", "-layout", "us,ar", "-variant", ",,", "-option", "grp:win_space_toggle", NULL,
// "xkbset", "exp", "=sticky", "-twokey", "-latchlock", NULL, // sticky keys
"~/.config/scripts/stickykeys.sh", NULL, // sticky keys script
"/bin/stickykeys", NULL, // sticky keys script
"picom", NULL, // Start compositor , for transparency
"nitrogen", "--restore", NULL, // Restores the wallpaper
"nm-applet", NULL, // Start the network manger

View File

@ -46,9 +46,11 @@ static Keychord keychords[] = {
{2, {{MODKEY, XK_w}, {0, XK_g}}, spawn, SHCMD(WEBBROWSER) },
// Tor brower
{2, {{MODKEY, XK_w}, {0, XK_t}}, spawn, SHCMD("tor-browser") },
/************************************* Start the caht/email apps *************************************/
/************************************* Start the caht/email/\* apps *************************************/
// Discord
{2, {{MODKEY, XK_c}, {0, XK_d}}, spawn, SHCMD("discord") },
// Obsidian
{2, {{MODKEY, XK_c}, {0, XK_o}}, spawn, SHCMD("obsidian") },
/************************************* Start the dev apps *************************************/
// Jetbrains toolbox
{2, {{MODKEY, XK_a}, {0, XK_j}}, spawn, SHCMD("jetbrains-toolbox") },
@ -68,7 +70,7 @@ static Keychord keychords[] = {
{2, {{MODKEY, XK_m}, {0, XK_c}}, spawn, SHCMD("sh -c \"" TERMINAL " -e cmus\" & sh -c \"cmus-rpc --link\"") },
// vlc
{2, {{MODKEY, XK_m}, {0, XK_v}}, spawn, SHCMD("vlc") },
// vlc in the main termcmd
// vlc in the main terminal
{2, {{MODKEY, XK_m}, {ShiftMask, XK_v}}, spawn, SHCMD(TERMINAL "nvlc") },
/************************************* Start the emoji piker apps *************************************/
// Emoji selector (rofi)