jokerboy avatar jokerboy committed 18495aa

switched to systemd :)

Comments (0)

Files changed (2)

         "19-${pkgname}-${pkgver}-systray.diff"
         "20-${pkgname}-${pkgver}-centerwindow.diff")
 sha256sums=('bb5c4bb7ba052a5498118eeb571165997f7dae62580c1be1a5cdf11e03bc8127'
-            '6513684846202bc99dcfb9b3e5cb10c9940703abfda464b649e5ba4cf22fd37e'
+            'fa6f00dd8eeb8eb541debcd1e2d7d2ddb1fe893369a83d20752a62b5988ad684'
             '9a24dd83b6dbf66807f4c5eaff5e308cdcfbdb19491bf5a9a3c5d968bbac856e'
             '4b133507f4b477f7a294d070169c363baf9366779e33c6b1ea1dc33e61b14979'
             '31adb170989315b20e820933a239f688331b931a242544c0650127fba926579e'
-/* See LICENSE file for copyright and license details. */
+/* JokerBoy - http://hg.punctweb.ro */
 
 /* appearance */
 static const char font[]            = "-misc-fixed-medium-r-semicondensed--12-110-75-75-c-*-iso8859-2";
 static const char *musiccmd[]      = { terminal, "-e", "ncmpcpp", NULL };
 static const char *scratchpadcmd[] = { terminal, "-name", scratchpadname, "-geometry", "150x40", NULL };
 static const char *filemancmd[]    = { "dolphin", NULL };
-static const char *browserfcmd[]   = { "firefox", "-p", "default", "-no-remote", NULL };
-static const char *browserwcmd[]   = { "firefox", "-p", "work", "-no-remote", NULL };
-static const char *browsergcmd[]   = { "firefox", "-p", "games", "-no-remote", NULL };
+static const char *browserfcmd[]   = { "firefox", "-p", "default", NULL };
+static const char *browserwcmd[]   = { "firefox", "-p", "work", NULL };
+static const char *browsergcmd[]   = { "firefox", "-p", "games", NULL };
 static const char *altbrowsercmd[] = { "chromium", NULL };
 static const char *secbrowsercmd[] = { "opera", NULL };
 static const char *editorcmd[]     = { "komodoedit", NULL };
 static const char *mpdnextcmd[]    = { "ncmpcpp", "next", NULL };
 static const char *screenshotcmd[] = { "printscreen", NULL };
 static const char *lockcmd[]       = { "slock", NULL };
-static const char *suspendcmd[]    = { "dbus-send", "--system", "--print-reply", "--dest=org.freedesktop.UPower", "/org/freedesktop/UPower", "org.freedesktop.UPower.Suspend", NULL };
-static const char *hibernatecmd[]  = { "dbus-send", "--system", "--print-reply", "--dest=org.freedesktop.UPower", "/org/freedesktop/UPower", "org.freedesktop.UPower.Hibernate", NULL };
-static const char *rebootcmd[]     = { "dbus-send", "--system", "--print-reply", "--dest=org.freedesktop.ConsoleKit", "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager.Restart", NULL };
-static const char *shutdowncmd[]   = { "dbus-send", "--system", "--print-reply", "--dest=org.freedesktop.ConsoleKit", "/org/freedesktop/ConsoleKit/Manager", "org.freedesktop.ConsoleKit.Manager.Stop", NULL };
+static const char *suspendcmd[]    = { "systemctl", "suspend", NULL };
+static const char *hibernatecmd[]  = { "systemctl", "hibernate", NULL };
+static const char *rebootcmd[]     = { "systemctl", "reboot", NULL };
+static const char *shutdowncmd[]   = { "systemctl", "poweroff", NULL };
 
 static Key keys[] = {
 	/* modifier                     key         function        argument */
 	{ MODKEY,                       XK_h,       setmfact,       {.f = -0.01} },
 	{ MODKEY,                       XK_l,       setmfact,       {.f = +0.01} },
 	{ ALTKEY,                       XK_Return,  zoom,           {0} },
-	{ MODKEY,                       XK_Tab,     view,           {0} },
-	{ ALTKEY,                       XK_Tab,     focusurgent,    {0} },
+	{ ALTKEY,                       XK_Tab,     view,           {0} },
+	{ MODKEY,                       XK_Tab,     focusurgent,    {0} },
 	{ MODKEY,                       XK_Escape,  killclient,     {0} },
 	{ MODKEY|ShiftMask,             XK_c,       centerwindow,   {0} },
 	{ MODKEY|ControlMask,           XK_n,       setlayout,      {.v = &layouts[0]} },
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.