aboutsummaryrefslogtreecommitdiff
path: root/scripts/paperwm
blob: c05285b8583b85f9bf9ff74766863d001bc27ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 / <<EOF
[org/gnome/shell]
enabled-extensions=['paperwm@paperwm.github.com']
EOF