From d07c9fab11f99c7e6981a94027077e68f6f0cb99 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Sun, 26 Nov 2023 02:56:02 -0500 Subject: Add background to dwm --- config/bash/bash_aliases | 1 + config/xorg/xinitrc | 1 + local/bin/setbg.sh | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100755 local/bin/setbg.sh diff --git a/config/bash/bash_aliases b/config/bash/bash_aliases index 46051cf..5ea253d 100644 --- a/config/bash/bash_aliases +++ b/config/bash/bash_aliases @@ -63,3 +63,4 @@ alias mpv_nhk_720p='mpv "https://nhkwlive-ojp.akamaized.net/hls/live/2003459/nhk # ====================================================================== alias :q="cowsay -d \"this isn't Vim\"" alias :w="cowsay -b \"this isn't Vim\"" +alias sl="sl -de -5" diff --git a/config/xorg/xinitrc b/config/xorg/xinitrc index c70e4fa..74aeeef 100644 --- a/config/xorg/xinitrc +++ b/config/xorg/xinitrc @@ -69,4 +69,5 @@ setxkbmap -option caps:escape # map CAPSLOCK to ESC # Start dwm xautolock -time 10 -locker slock & dwmblocks & +setbg.sh & exec dwm diff --git a/local/bin/setbg.sh b/local/bin/setbg.sh new file mode 100755 index 0000000..cd1a404 --- /dev/null +++ b/local/bin/setbg.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Sets the background (Suckless setup) + +bgfile="$HOME/media/Pictures/Wallpapers/landscapes/japan/Lake_Kawaguchiko_Sakura_Mount_Fuji_3.jpg" + +xwallpaper --output eDP --zoom "$bgfile" -- cgit v1.2.3