From a21276c2cc2b2d5bae48d410aeb33c054b183df5 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Tue, 6 Aug 2024 01:25:22 +0200 Subject: [PATCH] added commit script --- commit | 3 +++ config.def.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 commit diff --git a/commit b/commit new file mode 100755 index 0000000..9d13654 --- /dev/null +++ b/commit @@ -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 : ')" diff --git a/config.def.h b/config.def.h index 7ef4e64..874183d 100644 --- a/config.def.h +++ b/config.def.h @@ -122,7 +122,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE | "| sed 's/.*https*:\\/\\/\\(www\\.\\)\\?//' && cat ~/.config/savoia/bookmarks) " \ "| awk '!seen[$0]++' > ~/.config/savoia/bookmarks.tmp && " \ "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 \ } \ } @@ -155,7 +155,7 @@ static SiteSpecific certs[] = { */ static Key keys[] = { /* 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_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) }, { MODKEY, GDK_KEY_b, spawn, BM_ADD("_SURF_URI") },