update
This commit is contained in:
		
							
								
								
									
										14
									
								
								config.def.h
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								config.def.h
									
									
									
									
									
								
							@@ -59,14 +59,20 @@ 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[]  = { "alacritty", NULL };
 | 
			
		||||
static const char *slockcmd[] = { "slock", NULL };
 | 
			
		||||
static const char *brightness[2][3] = {{"backlight_control", "+5", NULL}, {"backlight_control", "-5", NULL}};
 | 
			
		||||
// Brightness commands
 | 
			
		||||
static const char *brightness[3][4] = { {
 | 
			
		||||
	"xbacklight", "-inc", "5"
 | 
			
		||||
  }, {
 | 
			
		||||
	"xbacklight", "-dec", "5"
 | 
			
		||||
  }
 | 
			
		||||
};
 | 
			
		||||
// Volume Commands
 | 
			
		||||
static const char *volume[3][4] = { {
 | 
			
		||||
    "amixer", "set", "Master", "10%+"
 | 
			
		||||
    "pamixer", "-i", "10"
 | 
			
		||||
  },{
 | 
			
		||||
    "amixer", "set", "Master", "10%-"
 | 
			
		||||
    "pamixer", "-d", "10"
 | 
			
		||||
  },{
 | 
			
		||||
    "amixer", "set", "Master", "toggle"
 | 
			
		||||
    "pamixer", "--toggle-mute"
 | 
			
		||||
  } 
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										14
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								config.h
									
									
									
									
									
								
							@@ -59,14 +59,20 @@ 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[]  = { "alacritty", NULL };
 | 
			
		||||
static const char *slockcmd[] = { "slock", NULL };
 | 
			
		||||
static const char *brightness[2][3] = {{"backlight_control", "+5", NULL}, {"backlight_control", "-5", NULL}};
 | 
			
		||||
// Brightness commands
 | 
			
		||||
static const char *brightness[3][4] = { {
 | 
			
		||||
	"xbacklight", "-inc", "5"
 | 
			
		||||
  }, {
 | 
			
		||||
	"xbacklight", "-dec", "5"
 | 
			
		||||
  }
 | 
			
		||||
};
 | 
			
		||||
// Volume Commands
 | 
			
		||||
static const char *volume[3][4] = { {
 | 
			
		||||
    "amixer", "set", "Master", "10%+"
 | 
			
		||||
    "pamixer", "-i", "10"
 | 
			
		||||
  },{
 | 
			
		||||
    "amixer", "set", "Master", "10%-"
 | 
			
		||||
    "pamixer", "-d", "10"
 | 
			
		||||
  },{
 | 
			
		||||
    "amixer", "set", "Master", "toggle"
 | 
			
		||||
    "pamixer", "--toggle-mute"
 | 
			
		||||
  } 
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user