General Improvements + Miner Deprecation (#23)
* Add volume key controls. * Add placeholder for LBRY app. * Refactor gui into gnome and packages. Remove deprecated lineinfiles. Enhance package management. * Variablize tar to fix FreeBSD. * Variablize tar to fix FreeBSD. * Take FreeBSD gui.yml refactor into account. * Unfinished changes to use self-signed cert so local traffic can hit https. Server starts fine, but getting "gnutls_handshake() failed: An unexpected TLS packet was received." on client's `git clone`. * Make D2D optional. FreeBSD is still having a hard time compiling it. * Use a block for Dash To Dock so only one ignore_errors is necessary. * Deprecate miner section since machines have been decommissioned. * Remove deprecated file. * Switch to lightdm on FreeBSD. * Automate GPU driver installation. * Updated DWM config and added TODO's. * Move lynis to src folder for cleanliness. * Remove debug. * Refactor for "shared" system type folder. * Fix FreeBSD gpu.yml location. * Add a default hosts file to hide warnings.
This commit is contained in:
		@@ -61,10 +61,16 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
 | 
			
		||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
 | 
			
		||||
static const char *termcmd[]  = { "st", NULL };
 | 
			
		||||
 | 
			
		||||
// Volume (https://varunbpatil.github.io/2013/09/28/dwm.html)
 | 
			
		||||
static const char *mutecmd[] = {"amixer","-q","sset","Master","toggle",NULL};
 | 
			
		||||
static const char *lowervolcmd[] = {"amixer","-q","sset","Master","1%-",NULL};
 | 
			
		||||
static const char *raisevolcmd[] = {"amixer","-q","sset","Master","1%+",NULL};
 | 
			
		||||
 | 
			
		||||
static Key keys[] = {
 | 
			
		||||
	/* modifier                     key        function        argument */
 | 
			
		||||
	{ MODKEY,                       XK_p,      spawn,          {.v = dmenucmd } },
 | 
			
		||||
	{ MODKEY|ShiftMask,             XK_Return, spawn,          {.v = termcmd } },
 | 
			
		||||
	{ MODKEY,                       XK_Return, spawn,          {.v = termcmd } },
 | 
			
		||||
	{ MODKEY,                       XK_b,      togglebar,      {0} },
 | 
			
		||||
	{ MODKEY,                       XK_j,      focusstack,     {.i = +1 } },
 | 
			
		||||
	{ MODKEY,                       XK_k,      focusstack,     {.i = -1 } },
 | 
			
		||||
@@ -97,7 +103,11 @@ static Key keys[] = {
 | 
			
		||||
	TAGKEYS(                        XK_9,                      8)
 | 
			
		||||
	{ MODKEY|ShiftMask,             XK_q,      quit,           {0} },
 | 
			
		||||
// Mine
 | 
			
		||||
	{ MODKEY,             XK_q,      killclient,     {0} },
 | 
			
		||||
	{ MODKEY,                       XK_q,      killclient,     {0} },
 | 
			
		||||
// Volume (https://varunbpatil.github.io/2013/09/28/dwm.html) 
 | 
			
		||||
    { 0,                            0x1008ff12,spawn,          {.v = mutecmd } },
 | 
			
		||||
    { 0,                            0x1008ff11,spawn,          {.v = lowervolcmd } },
 | 
			
		||||
    { 0,                            0x1008ff13,spawn,          {.v = raisevolcmd } },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
/* button definitions */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user