logo

dotfiles

My dotfiles, one branch per machine
commit: ee8379d8a2cb99af623d8dadf2c4ebb9162f01b6
parent: 21ef967ae3698ee69d2a285ffee79a554cd69b8f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  1 Oct 2019 08:40:08 +0200

Sway/X11 agnostic wallpaper setting

Diffstat:

M.config/sway/config2++
A.fehbg2++
M.profile4++++
3 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/.config/sway/config b/.config/sway/config @@ -136,3 +136,5 @@ exec_always swaymsg 'input * xkb_layout "'${XKB_DEFAULT_LAYOUT}'"' exec_always swaymsg 'input * xkb_variant "'${XKB_DEFAULT_VARIANT}'"' exec_always swaymsg 'input * xkb_options "'${XKB_DEFAULT_OPTIONS}'"' bindsym Print exec 'slurp | grim -g - /tmp/screen.png' + +exec_always swaymsg 'output * bg "'${MY_WALLPAPER}'" "'${MY_WALLPAPER_MODE}'"' diff --git a/.fehbg b/.fehbg @@ -0,0 +1,2 @@ +#!/bin/sh +feh --no-fehbg --bg-"${MY_WALLPAPER_MODE}" "${MY_WALLPAPER}" diff --git a/.profile b/.profile @@ -28,6 +28,10 @@ export TERMINAL='st' export TZ='Europe/Paris' export QT_STYLE_OVERRIDE=adwaita-dark +# Own environment variables for agnostism +export MY_WALLPAPER_MODE='fill' # one of fill, center, tile +export MY_WALLPAPER="/tank/datalove/img/wallpaper/background_dual.png" + # Input Method export XMODIFIERS=@im=uim export GTK_IM_MODULE="uim"