vkdot/nhkd/config.h

51 lines
2.7 KiB
C
Raw Permalink Normal View History

2025-03-02 03:05:35 -05:00
bool debug_print_spawned_command = false;
/*this causes warnings when blank*/
struct MouseEvent mouse_events[] = {
};
struct KeyEvent key_events[] = {
/*Stuff goes here*/
{ KeyPress, Mod4Mask, 0x1005ff70, "st -e sh ~/x/w/autoupload.sh" }, /*Sun "Props" Key*/
{ KeyPress, Mod4Mask, 0x1005ff71, "system-config-printer" }, /*Sun "Front" Key*/
{ KeyPress, Mod4Mask, 0x1008ff11, "amixer set Master 10%-" }, /*Sun "SndDcrs" Key*/
{ KeyPress, Mod4Mask, 0x1008ff12, "amixer set Master 0%" }, /*Sun "Mute" Key*/
{ KeyPress, Mod4Mask, 0x1008ff13, "amixer set Master 10%+" }, /*Sun "SndIncrs" Key*/
{ KeyPress, Mod4Mask, 0x1008ff57, "xdotool key Ctrl-c" }, /*Sun "Copy" Key*/
{ KeyPress, Mod4Mask, 0x1008ff58, "xdotool key Ctrl-x" }, /*Sun "Cut" Key*/
{ KeyPress, Mod4Mask, 0x1008ff6b, "st -e pmake" }, /*Sun "Open" Key*/
{ KeyPress, Mod4Mask, 0x1008ff6d, "xdotool key Shift-Insert" }, /*Sun "Paste" Key*/
{ KeyPress, Mod4Mask, 0xff65, "beep" }, /*Sun "Undo" Key*/
{ KeyPress, Mod4Mask, 0xff66, "st -e sh ~/x/wiki/c.sh" }, /*Sun "Again" Key*/
{ KeyPress, Mod4Mask, 0xff68, "st -e fzf" }, /*Sun "Find" Key*/
{ KeyPress, Mod4Mask, 0xff69, "beep" }, /*Sun "Stop" Key*/
{ KeyPress, Mod4Mask, 0xff6a, "st -e sh ~/x/wiki/edit.sh" }, /*Sun "Help" Key*/
{ KeyPress, Mod4Mask, XK_0, "amixer set Master 10%-" },
{ KeyPress, Mod4Mask, XK_8, "amixer set Master 0%" },
{ KeyPress, Mod4Mask, XK_9, "amixer set Master 10%+" },
{ KeyPress, Mod4Mask, XK_comma, "firefox" },
{ KeyPress, Mod4Mask, XK_period, "thunderbird" },
{ KeyPress, Mod4Mask, XK_g, "gajim" },
{ KeyPress, Mod4Mask, XK_apostrophe, "pgrep tmux && st -e tmux a ; pgrep tmux || st -e tmuxinator start work" },
{ KeyPress, Mod4Mask, XK_semicolon, "cd ~/m/vilyaemkenyaz/ && scrot" },
{ KeyPress, Mod4Mask, XK_a, "st -e abook --datafile ~/.local/share/abook/addressbook" },
{ KeyPress, Mod4Mask, XK_c, "st -e python" },
{ KeyPress, Mod4Mask, XK_d, "st -e kjv" },
{ KeyPress, Mod4Mask, XK_h, "maim -s ~/m/vilyaemkenyaz/maim-$(date -I).png" },
{ KeyPress, Mod4Mask, XK_i, "gimp" },
{ KeyPress, Mod4Mask, XK_k, "cd ~/w && xwallpaper --stretch $(\ls ~/w/ | dmenu -l 30)" },
{ KeyPress, Mod4Mask, XK_l, "kbmaster" },
{ KeyPress, Mod4Mask, XK_m, "soymoji" },
{ KeyPress, Mod4Mask, XK_o, "st -e pmake" },
{ KeyPress, Mod4Mask, XK_p, "st -e newsraft" },
{ KeyPress, Mod4Mask, XK_q, "st -e vifm" },
{ KeyPress, Mod4Mask, XK_r, "bookpicker" },
{ KeyPress, Mod4Mask, XK_u, "bookmark ~/x/links.txt" },
{ KeyPress, Mod4Mask, XK_w, "cd ~/w && xwallpaper --stretch $(\ls ~/w/ | shuf -n 1)" },
{ KeyPress, Mod4Mask, XK_x, "st -e links ~/x/web/vilyaem/homepage/index.html" },
{ KeyPress, Mod4Mask, XK_y, "st -e top" },
};