refined i3status-rust
This commit is contained in:
		
							parent
							
								
									97cce59541
								
							
						
					
					
						commit
						29f13d5c42
					
				
					 3 changed files with 10 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -205,8 +205,9 @@
 | 
			
		|||
        bars = [
 | 
			
		||||
          {
 | 
			
		||||
            fonts = {
 | 
			
		||||
              names = ["Fira Code"];
 | 
			
		||||
              size = 8.0;
 | 
			
		||||
              names = ["FiraCode Nerd Font"];
 | 
			
		||||
              style = "Mono";
 | 
			
		||||
              size = 10.0;
 | 
			
		||||
            };
 | 
			
		||||
            position = "bottom";
 | 
			
		||||
            statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-default.toml";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,7 @@
 | 
			
		|||
          blocks = [
 | 
			
		||||
            {
 | 
			
		||||
              block = "music";
 | 
			
		||||
              format = " $icon {$combo.str(max_w:25,rot_interval:0.5) $play $next $prev $player.str(max_w:5,rot_interval:0.5) [$cur/$avail] |} ";
 | 
			
		||||
              format = "{$icon $combo.str(max_w:25,rot_interval:0.5) $play $prev $next $player.str(max_w:5,rot_interval:0.5) [$cur/$avail] |}";
 | 
			
		||||
            }
 | 
			
		||||
            {
 | 
			
		||||
              block = "memory";
 | 
			
		||||
| 
						 | 
				
			
			@ -49,7 +49,7 @@
 | 
			
		|||
            {
 | 
			
		||||
              block = "net";
 | 
			
		||||
              format = "$icon {$signal_strength $ssid.str(max_w:5,rot_interval:0.5)|}";
 | 
			
		||||
              format_alt = " $icon {$signal_strength $ssid.str(max_w:5,rot_interval:0.5) $frequency|} $ip | $ipv6 via $device";
 | 
			
		||||
              format_alt = "$icon {$signal_strength $ssid.str(max_w:5,rot_interval:0.5) $frequency|} ipv4-$ip ipv6-$ipv6 via $device";
 | 
			
		||||
            }
 | 
			
		||||
            {
 | 
			
		||||
              block = "sound";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,7 @@
 | 
			
		|||
    enable = true;
 | 
			
		||||
    font = {
 | 
			
		||||
      package = pkgs.fira-code-nerdfont;
 | 
			
		||||
      name = "Fira Code";
 | 
			
		||||
      name = "FiraCode Nerd Font";
 | 
			
		||||
    };
 | 
			
		||||
    theme = "Gruvbox Dark";
 | 
			
		||||
    settings={
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue