diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/.bashrc | 2 | ||||
-rw-r--r-- | misc/.config/mimeapps.list | 4 | ||||
-rw-r--r-- | misc/.config/rofi/config.rasi | 2 | ||||
-rw-r--r-- | misc/.gdbinit | 2 | ||||
-rw-r--r-- | misc/.local/share/applications/emacsclient-web.desktop | 20 |
5 files changed, 26 insertions, 4 deletions
diff --git a/misc/.bashrc b/misc/.bashrc index b425d61..814098d 100644 --- a/misc/.bashrc +++ b/misc/.bashrc @@ -280,7 +280,7 @@ gs-extract() { # ghostscript, merge files: gs-merge merged.pdf 1.pdf 2.pdf gs-merge() { - gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$* + gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile="$@" } # dptrp1 diff --git a/misc/.config/mimeapps.list b/misc/.config/mimeapps.list index e0b551f..413a9f5 100644 --- a/misc/.config/mimeapps.list +++ b/misc/.config/mimeapps.list @@ -36,8 +36,8 @@ video/quicktime=vlc.desktop video/x-msvideo=mpv.desktop x-scheme-handler/chrome=firefox.desktop x-scheme-handler/ftp=filezilla.desktop -x-scheme-handler/http=firefox.desktop -x-scheme-handler/https=firefox.desktop +x-scheme-handler/http=emacsclient-web.desktop +x-scheme-handler/https=emacsclient-web.desktop x-scheme-handler/mailto=emacsclient-mail.desktop x-scheme-handler/sgnl=signal-desktop.desktop x-scheme-handler/org-protocol=emacsclient-org-protocol.desktop diff --git a/misc/.config/rofi/config.rasi b/misc/.config/rofi/config.rasi index aab83de..041b095 100644 --- a/misc/.config/rofi/config.rasi +++ b/misc/.config/rofi/config.rasi @@ -33,7 +33,7 @@ configuration { /* parse-hosts: false;*/ /* parse-known-hosts: true;*/ combi-modes: "run,drun"; - matching: "glob"; + matching: "prefix"; /* tokenize: true;*/ /* m: "-5";*/ /* filter: ;*/ diff --git a/misc/.gdbinit b/misc/.gdbinit index b84dbef..b06bc7f 100644 --- a/misc/.gdbinit +++ b/misc/.gdbinit @@ -1,3 +1,5 @@ +set debuginfod enabled on +set max-completions 20 set print static-members off set print frame-arguments all # unlimited print string length diff --git a/misc/.local/share/applications/emacsclient-web.desktop b/misc/.local/share/applications/emacsclient-web.desktop new file mode 100644 index 0000000..5beb0f3 --- /dev/null +++ b/misc/.local/share/applications/emacsclient-web.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Categories=Network;Web; +Comment=GNU Emacs is an extensible, customizable text editor - and more +Exec=/usr/bin/emacsclient -n %u +Icon=emacs +Name=Emacs (Web Browser, Client) +MimeType=x-scheme-handler/http;x-scheme-handler/https; +NoDisplay=true +Terminal=false +Type=Application +Keywords=emacsclient; +Actions=new-window;new-instance; + +[Desktop Action new-window] +Name=New Window +Exec=/usr/bin/emacsclient --create-frame -n %u + +[Desktop Action new-instance] +Name=New Instance +Exec=emacs -f browse-url %u |