Merge branch 'master' of gitlab.com:shockrah/shell-scripts

This commit is contained in:
shockrah 2020-02-21 17:24:44 -08:00
commit 3e615443cc
3 changed files with 21 additions and 1 deletions

5
configs/dwm.desktop Normal file
View File

@ -0,0 +1,5 @@
[Desktop Entry]
Name=DWM
Comment=This session logs in to DWM
Exec=/usr/local/bin/dwm
Type=Application

14
dwm-launcher.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
# This script is used to mimic an xinitrc to some degree
set -x
eval `ssh-agent`
#compton --backend glx --xrender-sync --xrender-sync-fence -b
compton --xrender-sync --xrender-sync-fence -b
bright 50 # custom brightness script
feh --randomize --bg-fill ~/Pictures/Papes/* &
statline &
exec dwm

3
snip
View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
if [ -z "$1" ]; then if [ -z "$1" ]; then
rm -f $HOME/tmp.png
scrot -sz $HOME/tmp.png scrot -sz $HOME/tmp.png
else else
scrot -sz $HOME/$1 scrot -sz "$HOME/$1"
fi fi