suckless-utils/slim/util.h
Alexis Jhon Gaspar e1207e1d0d Added slim-fork to the repo
- This introduces a minimalist display manager for the suckless-utils suite
- Added crudely written scripts for reloaading slim's theme via pywal,
  meaning no on-the-fly reloading using keybinds as nost people wouldn't
have their sudo passwordless
- This is based on slim-fork 1.4.0 version.
2023-10-12 23:08:23 +08:00

26 lines
651 B
C++

/* SLiM - Simple Login Manager
Copyright (C) 2009 Eygene Ryabinkin <rea@codelabs.ru>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
*/
#ifndef _UTIL_H__
#define _UTIL_H__
#include <string>
namespace Util
{
bool add_mcookie(const std::string &mcookie, const char *display,
const std::string &xauth_cmd, const std::string &authfile);
void srandom(unsigned long seed);
long random(void);
long makeseed(void);
}
#endif /* _UTIL_H__ */