added commit script

This commit is contained in:
WanderingPenwing 2024-08-06 01:25:22 +02:00
parent a241761207
commit a21276c2cc
2 changed files with 5 additions and 2 deletions

3
commit Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
cp -f config.h config.def.h && git add . && git commit -m "$(echo '' | marukuru -p 'commit msg : ')"

View file

@ -122,7 +122,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
"| sed 's/.*https*:\\/\\/\\(www\\.\\)\\?//' && cat ~/.config/savoia/bookmarks) " \ "| sed 's/.*https*:\\/\\/\\(www\\.\\)\\?//' && cat ~/.config/savoia/bookmarks) " \
"| awk '!seen[$0]++' > ~/.config/savoia/bookmarks.tmp && " \ "| awk '!seen[$0]++' > ~/.config/savoia/bookmarks.tmp && " \
"mv ~/.config/savoia/bookmarks.tmp ~/.config/savoia/bookmarks &&" \ "mv ~/.config/savoia/bookmarks.tmp ~/.config/savoia/bookmarks &&" \
"notify-send -u low -a 'savoia' 'added bookmark'", \ "notify-send -u normal -a 'savoia' 'added bookmark'", \
winid, r, NULL \ winid, r, NULL \
} \ } \
} }
@ -155,7 +155,7 @@ static SiteSpecific certs[] = {
*/ */
static Key keys[] = { static Key keys[] = {
/* modifier keyval function arg */ /* modifier keyval function arg */
{ MODKEY, GDK_KEY_g, spawn, SETPROP("_SURF_URI", "_SURF_GO", PROMPT_GO) }, { MODKEY, GDK_KEY_Return, spawn, SETPROP("_SURF_URI", "_SURF_GO", PROMPT_GO) },
{ MODKEY, GDK_KEY_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) }, { MODKEY, GDK_KEY_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) },
{ MODKEY, GDK_KEY_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) }, { MODKEY, GDK_KEY_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) },
{ MODKEY, GDK_KEY_b, spawn, BM_ADD("_SURF_URI") }, { MODKEY, GDK_KEY_b, spawn, BM_ADD("_SURF_URI") },