From f32c4bab3b48adcbd1a67eb958112e7b100ee78d Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 23 Jan 2020 17:01:20 -0800 Subject: [PATCH 1/5] dwm launcher script for pop os users like myself --- dwm-launcher.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 dwm-launcher.sh diff --git a/dwm-launcher.sh b/dwm-launcher.sh new file mode 100755 index 0000000..0a2a0e9 --- /dev/null +++ b/dwm-launcher.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# This script is used to mimic an xinitrc to some degree + +set -x +eval `ssh-agent` + +bright 50 # custom brightness script + +feh --randomize --bg-fill ~/Pictures/Papes/* & + +statline & From 3693ecb86ab3f4d8c85ad5a31b992e98c806998c Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 23 Jan 2020 17:02:04 -0800 Subject: [PATCH 2/5] desktop file for launching dwm from pop os's main login manager --- configs/dwm.desktop | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 configs/dwm.desktop 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 From 4c5a1159e4461d731ea8baa03ef06d2390078f84 Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 23 Jan 2020 23:31:59 -0800 Subject: [PATCH 3/5] tfw scrot updated recently to not overwrite things --- snip | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 From fac7410c89fdce2f6cd936ce9c5fa78d49c837df Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 25 Jan 2020 13:31:58 -0800 Subject: [PATCH 4/5] fixed minor error in launcher script --- dwm-launcher.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dwm-launcher.sh b/dwm-launcher.sh index 0a2a0e9..ff67d68 100755 --- a/dwm-launcher.sh +++ b/dwm-launcher.sh @@ -4,8 +4,10 @@ set -x eval `ssh-agent` +compton --backend glx --xrender-sync --xrender-sync-fence -b bright 50 # custom brightness script feh --randomize --bg-fill ~/Pictures/Papes/* & statline & +exec dwm From 3fc7f0d6e4825409ed14de4fb3434fd2088ceb08 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 26 Jan 2020 00:03:51 -0800 Subject: [PATCH 5/5] removed glx backend from compton command, old one is still there but depp'd --- dwm-launcher.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dwm-launcher.sh b/dwm-launcher.sh index ff67d68..34fca74 100755 --- a/dwm-launcher.sh +++ b/dwm-launcher.sh @@ -4,7 +4,8 @@ set -x eval `ssh-agent` -compton --backend glx --xrender-sync --xrender-sync-fence -b +#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/* &