Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments/applications/awesome.json
blob: 42715e6f934e4f2537b70bcfcd9fdaac0ce12804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
    }
}