aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2020-06-05 13:03:32 -0700
committerkatherine <ageha@airen-no-jikken.icu>2020-06-05 13:03:32 -0700
commit289e38022fe0d333844009c10287643cb0af009f (patch)
treea49193fb35b1e988725b4a211ef1b64f28a9663d
parent1e61c314f4585e683ef792e2525bf4f7d69bf3b6 (diff)
downloaddotfiles-289e38022fe0d333844009c10287643cb0af009f.tar.gz
add krita to programs
-rwxr-xr-x.config/herbstluftwm/autostart2
-rw-r--r--.config/ranger/rifle.conf10
2 files changed, 8 insertions, 4 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index 05adb86..2b3386e 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -156,6 +156,8 @@ hc keybind Mod4-Shift-i spawn gimp
hc keybind Mod4-Shift-m spawn /usr/lib/mozc/mozc_tool --mode=hand_writing
hc keybind Mod4-Shift-n spawn urxvt -name "notes" -e $EDITOR ~/notes
hc keybind Mod4-Shift-o spawn ~/yolo/tor/start-tor-browser
+hc keybind Mod4-Shift-p spawn inkscape
+hc keybind Mod4-Shift-r spawn krita
hc keybind Mod4-Shift-t spawn transmission-gtk
hc keybind Mod4-Shift-v spawn urxvt -name $EDITOR -e $EDITOR
hc keybind Mod4-Shift-w spawn urxvt -name "weechat" -e weechat
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index ecef278..44f7032 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -102,10 +102,12 @@ ext sla, has scribus, X, flag f = scribus "$@"
# images
-ext xcf, has gimp, X, flag f = gimp -- "$@"
-mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
-mime ^image, has sxiv, X, flag f = sxiv -a "$@"
-mime ^image, !ext xcf, has gimp, X, flag f = gimp -- "$@"
+ext xcf, has gimp, X, flag f = gimp -- "$@"
+ext kra, has krita, X, flag f = krita -- "$@"
+mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
+mime ^image, has sxiv, X, flag f = sxiv -a "$@"
+mime ^image, !ext xcf, has gimp, X, flag f = gimp -- "$@"
+mime ^image, !ext kra, has krita, X, flag f = krita -- "$@"
mime ^image/png, has optipng = optipng -- "$@"
mime ^image, has inkscape, X, flag f = inkscape -- "$@"