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