diff --git a/configs/dwm.desktop b/configs/dwm.desktop new file mode 100644 index 0000000..684b96f --- /dev/null +++ b/configs/dwm.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Name=DWM +Comment=This session logs in to DWM +Exec=/usr/local/bin/dwm +Type=Application diff --git a/dwm-launcher.sh b/dwm-launcher.sh new file mode 100755 index 0000000..34fca74 --- /dev/null +++ b/dwm-launcher.sh @@ -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 diff --git a/snip b/snip index a7a7d06..e68b99f 100755 --- a/snip +++ b/snip @@ -1,6 +1,7 @@ #!/bin/sh if [ -z "$1" ]; then + rm -f $HOME/tmp.png scrot -sz $HOME/tmp.png else - scrot -sz $HOME/$1 + scrot -sz "$HOME/$1" fi