mirror of
https://github.com/arkorty/Scripts.git
synced 2026-03-18 01:07:10 +00:00
Rename sbg to set-wall
This commit is contained in:
19
set-wall
Executable file
19
set-wall
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/sh
|
||||
|
||||
# Script: set-wall
|
||||
# License: MIT
|
||||
# Author: Arkaprabha Chakraborty
|
||||
# Created: 28-07-23
|
||||
# Dependencies: feh, dunstify
|
||||
#
|
||||
# Copyright (C) 2023 Arkaprabha Chakraborty
|
||||
|
||||
PROG=feh # program
|
||||
NOTIPROG=dunstify # program
|
||||
FLAGS=--bg-fill # program flags
|
||||
WALL=$1 # original image
|
||||
REST=$HOME/.bg # duplicate image
|
||||
|
||||
cp "$WALL" "$REST" # make a copy
|
||||
"$PROG" "$FLAGS" "$REST" # set background
|
||||
"$NOTIPROG" "Set as background" -a "$PROG" -u "low" -t "2000" -I "$WALL"
|
||||
Reference in New Issue
Block a user