From 527e22fe4b832330de5c35f14228325ec33e3a69 Mon Sep 17 00:00:00 2001 From: Martin Vician Date: Mon, 8 Aug 2016 11:00:12 +0200 Subject: [PATCH] fixed wallpaper scaling for i3 --- AUTHORS | 3 ++- himawaripy/utils.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 45a8061..167cef3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,8 +12,9 @@ https://github.com/rbong https://github.com/RyuzakiKK https://github.com/schlagenhauf https://github.com/sgnn7 -https://github.com/xenithorb +https://github.com/vician https://github.com/wesbarnett +https://github.com/xenithorb https://github.com/yupyupp https://www.reddit.com/u/officerchrister diff --git a/himawaripy/utils.py b/himawaripy/utils.py index f6301f8..0d4f04b 100644 --- a/himawaripy/utils.py +++ b/himawaripy/utils.py @@ -20,7 +20,7 @@ def set_background(file_path): elif de == "mate": subprocess.call(["gsettings", "set", "org.mate.background", "picture-filename", file_path]) elif de == 'i3': - subprocess.call(['feh','--bg-fill',file_path]) + subprocess.call(['feh','--bg-max',file_path]) elif de == "xfce4": for display in xfce_displays: subprocess.call(["xfconf-query", "--channel", "xfce4-desktop", "--property", display, "--set", file_path])