From e7ae86e52ffd85a57a0f8c5d295548bdf28b68d7 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 15 Nov 2012 17:37:19 +0100 Subject: [PATCH] feh/themes: Add, default options for feh. ~/.fehrc in older versions. --- feh/themes | 24 ++++++++++++++++++++++++ setup.sh | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 feh/themes diff --git a/feh/themes b/feh/themes new file mode 100644 index 0000000..6b0b3e2 --- /dev/null +++ b/feh/themes @@ -0,0 +1,24 @@ +# feh themes configuration file. + +# Copyright (C) 2012 Simon Ruderich +# +# This file is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This file is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this file. If not, see . + + +# Default options for feh. +# +# --scale-down: scale image to window width +# --geometry 500x500: fix flickering when using tiling window managers +# --draw-filename: display filename on screen +feh --scale-down --geometry 500x500 --draw-filename diff --git a/setup.sh b/setup.sh index 2dc1693..2e4ba5a 100755 --- a/setup.sh +++ b/setup.sh @@ -71,4 +71,7 @@ fi if installed feh; then mkdir -p ~/.config link feh ~/.config/feh + # Older feh versions only support theme options and configure them through + # ~/.fehrc. + link feh/themes ~/.fehrc fi -- 2.44.1