mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Compare commits
3 Commits
e0ff04168a
...
f16cd95a0f
Author | SHA1 | Date | |
---|---|---|---|
f16cd95a0f | |||
21f7a2b75c | |||
a912db8044 |
@ -1,27 +1,27 @@
|
||||
[Default Applications]
|
||||
|
||||
# eog for images
|
||||
image/bmp=eog.desktop
|
||||
image/gif=eog.desktop
|
||||
image/jpeg=eog.desktop
|
||||
image/jpg=eog.desktop
|
||||
image/pjpeg=eog.desktop
|
||||
image/png=eog.desktop
|
||||
image/svg+xml-compressed=eog.desktop
|
||||
image/svg+xml=eog.desktop
|
||||
image/tiff=eog.desktop
|
||||
image/x-bmp=eog.desktop
|
||||
image/x-gray=eog.desktop
|
||||
image/x-icb=eog.desktop
|
||||
image/x-ico=eog.desktop
|
||||
image/x-png=eog.desktop
|
||||
image/x-portable-anymap=eog.desktop
|
||||
image/x-portable-bitmap=eog.desktop
|
||||
image/x-portable-graymap=eog.desktop
|
||||
image/x-portable-pixmap=eog.desktop
|
||||
image/bmp=org.gnome.eog.desktop
|
||||
image/gif=org.gnome.eog.desktop
|
||||
image/jpeg=org.gnome.eog.desktop
|
||||
image/jpg=org.gnome.eog.desktop
|
||||
image/pjpeg=org.gnome.eog.desktop
|
||||
image/png=org.gnome.eog.desktop
|
||||
image/svg+xml-compressed=org.gnome.eog.desktop
|
||||
image/svg+xml=org.gnome.eog.desktop
|
||||
image/tiff=org.gnome.eog.desktop
|
||||
image/x-bmp=org.gnome.eog.desktop
|
||||
image/x-gray=org.gnome.eog.desktop
|
||||
image/x-icb=org.gnome.eog.desktop
|
||||
image/x-ico=org.gnome.eog.desktop
|
||||
image/x-png=org.gnome.eog.desktop
|
||||
image/x-portable-anymap=org.gnome.eog.desktop
|
||||
image/x-portable-bitmap=org.gnome.eog.desktop
|
||||
image/x-portable-graymap=org.gnome.eog.desktop
|
||||
image/x-portable-pixmap=org.gnome.eog.desktop
|
||||
|
||||
# evince for pdfs
|
||||
application/pdf=evince.desktop
|
||||
application/pdf=org.gnome.Evince.desktop
|
||||
|
||||
# vim for textual files
|
||||
application/x-shellscript=vim.desktop
|
||||
@ -29,7 +29,7 @@ text/english=vim.desktop
|
||||
text/plain=vim.desktop
|
||||
text/x-makefile=vim.desktop
|
||||
|
||||
# Chromium for web/html
|
||||
# Firefox for web/html
|
||||
text/html=firefox.desktop
|
||||
x-scheme-handler/about=firefox.desktop
|
||||
x-scheme-handler/http=firefox.desktop
|
||||
|
15
systemd/user/gphoto-ffmpeg@.service
Normal file
15
systemd/user/gphoto-ffmpeg@.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=GPhoto2 capture with ffmpeg encoding
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=gphoto2 --abilities
|
||||
ExecStart=/bin/sh -c 'exec gphoto2 --set-config /main/capturesettings/continuousaf=1 --set-config /main/capturesettings/focusmode="AI Servo" --set-config /main/imgsettings/whitesbalance=Tungsten --capture-movie --stdout --set-config viewfinder=0 | ffmpeg -i - -f rawvideo -vf "crop=iw:iw*9/16" -pix_fmt yuv420p -threads 0 -s:v 1280x720 -r 25 -f v4l2 /dev/video%i'
|
||||
ExecStop=/bin/kill $MAINPID
|
||||
ExecStop=-/usr/bin/gphoto2 --set-config viewfinder=0
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
Slice=app.slice
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
@ -2,6 +2,7 @@
|
||||
Description=NetworkManager Applet
|
||||
After=graphical-session.target NetworkManager.service
|
||||
Requires=graphical-session.target
|
||||
ConditionPathExists=/run/NetworkManager
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
Loading…
Reference in New Issue
Block a user