From 0a09cc61a69318cc26ffbd3c7067ead289dce8e6 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 1 Mar 2026 11:51:04 +0100 Subject: Add PaperWM install script --- scripts/paperwm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 scripts/paperwm diff --git a/scripts/paperwm b/scripts/paperwm new file mode 100755 index 00000000..c05285b8 --- /dev/null +++ b/scripts/paperwm @@ -0,0 +1,18 @@ +#!/bin/sh + +set -uex + +test -f ~/.cache/paperwmpaperwm.github.com.v145.shell-extension.zip || { + wget https://extensions.gnome.org/extension-data/paperwmpaperwm.github.com.v145.shell-extension.zip -O ~/.cache/paperwmpaperwm.github.com.v145.shell-extension.zip +} + +test -d ~/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com || { + mkdir -p ~/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com + cd ~/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com + unzip ~/.cache/paperwmpaperwm.github.com.v145.shell-extension.zip +} + +dconf load / <