Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-06 22:23:29 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-06 22:23:29 +0200
commitd723dcf0d7c64f686fc6234a7da9649346d1f56f (patch)
tree36dceb8cd0dcb2d71294cf0d2bec8d76bee86756 /profiles/applications
parent4167946d815f2ab9c6ebf0c597f3b5f5f9723b1e (diff)
Renaming deployments to profiles
Diffstat (limited to 'profiles/applications')
-rw-r--r--profiles/applications/awesome.json17
-rw-r--r--profiles/applications/gnome.json6
-rw-r--r--profiles/applications/kde.json6
-rw-r--r--profiles/applications/postgresql.json5
4 files changed, 34 insertions, 0 deletions
diff --git a/profiles/applications/awesome.json b/profiles/applications/awesome.json
new file mode 100644
index 00000000..42715e6f
--- /dev/null
+++ b/profiles/applications/awesome.json
@@ -0,0 +1,17 @@
+{
+ "Installing awesome window manager" : {
+ "sed -i 's/^twm &/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^xclock/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^xterm/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^exec xterm/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sh -c \"echo 'xscreensaver -no-splash &' >> /etc/X11/xinit/xinitrc\"" : null,
+ "sh -c \"echo 'exec {_window_manager}' >> /etc/X11/xinit/xinitrc\"" : {"pass-args" : true},
+ "sed -i 's/xterm/xterm -ls -xrm \"XTerm*selectToClipboard: true\"/' /mnt/etc/xdg/awesome/rc.lua" : {"no-chroot" : true},
+ "sed -i 's/{ \"open terminal\", terminal/{ \"Chromium\", \"chromium\" },\n &/' /mnt/etc/xdg/awesome/rc.lua" : {"no-chroot" : true},
+ "sed -i 's/{ \"open terminal\", terminal/{ \"File handler\", \"nemo\" },\n &/' /mnt/etc/xdg/awesome/rc.lua" : {"no-chroot" : true},
+ "sed -i 's/^globalkeys = gears.table.join(/&\n awful.key({ modkey, }, \"l\", function() awful.spawn(\"xscreensaver-command -lock &\") end),\n/' /mnt/etc/xdg/awesome/rc.lua" : {"no-chroot" : true},
+ "awk -i inplace -v RS='' '{gsub(/awful.key\\({ modkey,.*?}, \"Tab\",.*?\"client\"}\\),/, \"awful.key({ modkey, }, \"Tab\",\n function ()\n awful.client.focus.byidx(-1)\n if client.focus then\n client.focus:raise()\n end\n end),\n awful.key({ modkey, \"Shift\" }, \"Tab\",\n function ()\n awful.client.focus.byidx(1)\n if client.focus then\n client.focus.raise()\n end\n end),\"); print}' /mnt/etc/xdg/awesome/rc.lua" : {"no-chroot" : true},
+ "gsettings set org.nemo.desktop show-desktop-icons false" : null,
+ "xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search" : null
+ }
+}
diff --git a/profiles/applications/gnome.json b/profiles/applications/gnome.json
new file mode 100644
index 00000000..4b568544
--- /dev/null
+++ b/profiles/applications/gnome.json
@@ -0,0 +1,6 @@
+{
+ "sed -i 's/^twm &/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^xclock/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^xterm/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^exec xterm/#&/' /etc/X11/xinit/xinitrc" : null,
+}
diff --git a/profiles/applications/kde.json b/profiles/applications/kde.json
new file mode 100644
index 00000000..4b568544
--- /dev/null
+++ b/profiles/applications/kde.json
@@ -0,0 +1,6 @@
+{
+ "sed -i 's/^twm &/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^xclock/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^xterm/#&/' /etc/X11/xinit/xinitrc" : null,
+ "sed -i 's/^exec xterm/#&/' /etc/X11/xinit/xinitrc" : null,
+}
diff --git a/profiles/applications/postgresql.json b/profiles/applications/postgresql.json
new file mode 100644
index 00000000..05976fd9
--- /dev/null
+++ b/profiles/applications/postgresql.json
@@ -0,0 +1,5 @@
+{
+ "pacman -Syy --noconfirm postgresql" : {"debug" : true},
+ "systemctl enable postgresql" : {"debug" : true},
+ "su - postgres -c \"initdb -D /var/lib/postgres/data\"" : {"debug" : true}
+} \ No newline at end of file