Compare commits
	
		
			2 commits
		
	
	
		
			952858da85
			...
			eae2664fd6
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| eae2664fd6 | |||
| f673c4543e | 
					 2 changed files with 7 additions and 6 deletions
				
			
		| 
						 | 
					@ -155,13 +155,13 @@
 | 
				
			||||||
          '';
 | 
					          '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          "${mod}+mod1+p" = ''
 | 
					          "${mod}+mod1+p" = ''
 | 
				
			||||||
            exec --no-startup-id "playerctl play-pause"
 | 
					            exec --no-startup-id "playerctl play-pause; dunstify -h string:x-dunst-stack-tag:playerstatus --timeout=500 Player $(playerctl status)"
 | 
				
			||||||
          '';
 | 
					          '';
 | 
				
			||||||
          "${mod}+mod1+plus" = ''
 | 
					          "${mod}+mod1+plus" = ''
 | 
				
			||||||
            exec --no-startup-id "playerctl volume -- +0.1; dunstify -h string:x-dunst-stack-tag:playervol --timeout=500 Player $(playerctl volume)"
 | 
					            exec --no-startup-id "playerctl volume 0.01+; dunstify -h string:x-dunst-stack-tag:volume --timeout=500 -h int:value:$(playerctl volume | cut -d' ' -f2 | awk '{print $1*100}' ) Player"
 | 
				
			||||||
          '';
 | 
					          '';
 | 
				
			||||||
          "${mod}+mod1+minus" = ''
 | 
					          "${mod}+mod1+minus" = ''
 | 
				
			||||||
            exec --no-startup-id "playerctl volume -- -0.1; dunstify -h string:x-dunst-stack-tag:playervol --timeout=500 Player $(playerctl volume)"
 | 
					            exec --no-startup-id "playerctl volume 0.01-; dunstify -h string:x-dunst-stack-tag:volume --timeout=500 -h int:value:$(playerctl volume | cut -d' ' -f2 | awk '{print $1*100}' ) Player"
 | 
				
			||||||
          '';
 | 
					          '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          #open volume control
 | 
					          #open volume control
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -28,7 +28,7 @@
 | 
				
			||||||
          blocks = [
 | 
					          blocks = [
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
              block = "music";
 | 
					              block = "music";
 | 
				
			||||||
              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] |}";
 | 
					              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";
 | 
					              block = "memory";
 | 
				
			||||||
| 
						 | 
					@ -54,7 +54,8 @@
 | 
				
			||||||
              {
 | 
					              {
 | 
				
			||||||
                block = "battery";
 | 
					                block = "battery";
 | 
				
			||||||
                driver = "upower";
 | 
					                driver = "upower";
 | 
				
			||||||
                format = "$icon $percentage {$time |}";
 | 
					                device = "DisplayDevice";
 | 
				
			||||||
 | 
					                format = "$icon $percentage {$time|}";
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					@ -64,7 +65,7 @@
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
              block = "sound";
 | 
					              block = "sound";
 | 
				
			||||||
              format = "$icon {$volume.bar(v:true) $volume.eng(w:2) |}";
 | 
					              format = "$icon {$volume.bar(v:true) $volume.eng(w:2)|}";
 | 
				
			||||||
              headphones_indicator = true;
 | 
					              headphones_indicator = true;
 | 
				
			||||||
              click = [
 | 
					              click = [
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue