From 3bbe8ab58f4e30b384eb99302e1ecaa2a23f60a2 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 9 Jun 2019 21:14:40 +0200 Subject: Removed 1 from &1 in sed magic. --- deployments/applications/awesome.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deployments/applications') diff --git a/deployments/applications/awesome.json b/deployments/applications/awesome.json index 32b05beb..97073a95 100644 --- a/deployments/applications/awesome.json +++ b/deployments/applications/awesome.json @@ -5,10 +5,10 @@ "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}, - "sh -c \"sed -i 's/{ \\\"open terminal\\\", terminal/{ \\\"Chromium\\\", \\\"chromium\\\" },\n &1/' /etc/xdg/awesome/rc.lua\"" : null, - "sh -c \"sed -i 's/{ \\\"open terminal\\\", terminal/{ \\\"File handler\\\", \\\"nemo\\\" },\n &1/' /etc/xdg/awesome/rc.lua\"" : null, + "sh -c \"sed -i 's/{ \\\"open terminal\\\", terminal/{ \\\"Chromium\\\", \\\"chromium\\\" },\n &/' /etc/xdg/awesome/rc.lua\"" : null, + "sh -c \"sed -i 's/{ \\\"open terminal\\\", terminal/{ \\\"File handler\\\", \\\"nemo\\\" },\n &/' /etc/xdg/awesome/rc.lua\"" : null, "sh -c \"sed -i 's/^globalkeys = gears.table.join(/&\n awful.key({ modkey, }, \\\"l\\\", function() awful.spawn(\\\"xscreensaver-command -lock &\\\") end),\n/' /etc/xdg/awesome/rc.lua\"" : null, "sh -c \"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}' /etc/xdg/awesome/rc.lua\"" : null, "gsettings set org.nemo.desktop show-desktop-icons false" : null, "xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search" : null -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2