[update] Make the status bar at the bottom and make the font even smaller and remove the unproper autostart programs
This commit is contained in:
		
							parent
							
								
									7d4a8b9999
								
							
						
					
					
						commit
						0aa1ecc3ef
					
				
					 1 changed files with 8 additions and 15 deletions
				
			
		
							
								
								
									
										23
									
								
								src/config.h
									
										
									
									
									
								
							
							
						
						
									
										23
									
								
								src/config.h
									
										
									
									
									
								
							| 
						 | 
					@ -7,21 +7,16 @@
 | 
				
			||||||
static const unsigned int borderpx = 1; /* border pixel of windows */
 | 
					static const unsigned int borderpx = 1; /* border pixel of windows */
 | 
				
			||||||
static const unsigned int gappx = 3;    /* gaps size between windows */
 | 
					static const unsigned int gappx = 3;    /* gaps size between windows */
 | 
				
			||||||
static const unsigned int snap = 32;    /* snap pixel */
 | 
					static const unsigned int snap = 32;    /* snap pixel */
 | 
				
			||||||
static const unsigned int systraypinning =
 | 
					static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
 | 
				
			||||||
    0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor
 | 
					static const unsigned int systrayonleft = -1; /* 0: systray in the right corner, >0: systray on left of status text */
 | 
				
			||||||
          X */
 | 
					 | 
				
			||||||
static const unsigned int systrayonleft =
 | 
					 | 
				
			||||||
    0; /* 0: systray in the right corner, >0: systray on left of status text */
 | 
					 | 
				
			||||||
static const unsigned int systrayspacing = 2; /* systray spacing */
 | 
					static const unsigned int systrayspacing = 2; /* systray spacing */
 | 
				
			||||||
static const int systraypinningfailfirst =
 | 
					static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
 | 
				
			||||||
    1; /* 1: if pinning fails, display systray on the first monitor, False:
 | 
					 | 
				
			||||||
          display systray on the last monitor*/
 | 
					 | 
				
			||||||
static const int showsystray = 1; /* 0 means no systray */
 | 
					static const int showsystray = 1; /* 0 means no systray */
 | 
				
			||||||
static const int showbar = 1;     /* 0 means no bar */
 | 
					static const int showbar = 1;     /* 0 means no bar */
 | 
				
			||||||
static const int topbar = 1;      /* 0 means bottom bar */
 | 
					static const int topbar = 0;      /* 0 means bottom bar */
 | 
				
			||||||
static const char *fonts[] = {
 | 
					static const char *fonts[] = {
 | 
				
			||||||
    "monospace:size=7", "Noto Color Emoji:size=8",
 | 
					    "monospace:size=6", "Noto Color Emoji:size=7",
 | 
				
			||||||
    "Nerd Font Mono:size=16:antialias=true:hinting=true"};
 | 
					    "Nerd Font Mono:size=10:antialias=true:hinting=true"};
 | 
				
			||||||
static const char dmenufont[] = "monospace:size=8";
 | 
					static const char dmenufont[] = "monospace:size=8";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef STDDEF_H
 | 
					#ifndef STDDEF_H
 | 
				
			||||||
| 
						 | 
					@ -37,8 +32,7 @@ static const char *const autostart[] = {
 | 
				
			||||||
    // Start my build of slstatus
 | 
					    // Start my build of slstatus
 | 
				
			||||||
    "slstatus", NULL,
 | 
					    "slstatus", NULL,
 | 
				
			||||||
    // Keyboard layouts switch (requires setxkbmap)
 | 
					    // Keyboard layouts switch (requires setxkbmap)
 | 
				
			||||||
    "setxkbmap", "-model", "pc104", "-layout", "jp,kr,us,ar", "-variant",
 | 
					    // "setxkbmap", "-model", "pc104", "-layout", "us,ar,jp,kr", "-variant", "dvorak-l,,,", "-option", "grp:win_space_toggle", NULL,
 | 
				
			||||||
    ",,dvorak-l", "-option", "grp:win_space_toggle", NULL,
 | 
					 | 
				
			||||||
    // "xkbset", "exp", "=sticky", "-twokey", "-latchlock", NULL, // sticky keys
 | 
					    // "xkbset", "exp", "=sticky", "-twokey", "-latchlock", NULL, // sticky keys
 | 
				
			||||||
    "/bin/stickykeys", NULL,       // sticky keys script
 | 
					    "/bin/stickykeys", NULL,       // sticky keys script
 | 
				
			||||||
    "picom", NULL,                 // Start compositor , for transparency
 | 
					    "picom", NULL,                 // Start compositor , for transparency
 | 
				
			||||||
| 
						 | 
					@ -52,8 +46,7 @@ static const char *const autostart[] = {
 | 
				
			||||||
// static const char *tags[] = { "I", "II", "III", "IV", "V", "VI", "VII",
 | 
					// static const char *tags[] = { "I", "II", "III", "IV", "V", "VI", "VII",
 | 
				
			||||||
// "VIII", "IX" }; static const char *tags[] = { "", "", "", "",
 | 
					// "VIII", "IX" }; static const char *tags[] = { "", "", "", "",
 | 
				
			||||||
// "", "", "", "", "" };
 | 
					// "", "", "", "", "" };
 | 
				
			||||||
static const char *tags[] = {"www", "dev", "sys",  "chat", "lab",
 | 
					static const char *tags[] = {"www", "dev", "sys",  "chat", "lab", "vid", "mus", "vbox", "gfx",  ";"};
 | 
				
			||||||
                             "vid", "mus", "vbox", "gfx",  ";"};
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const Rule rules[] = {
 | 
					static const Rule rules[] = {
 | 
				
			||||||
    /* xprop(1):
 | 
					    /* xprop(1):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue