New backup 2025-03-04 00:30:02
This commit is contained in:
		
							parent
							
								
									fea3cccc20
								
							
						
					
					
						commit
						df1a45c839
					
				
					 1 changed files with 21 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -7,6 +7,7 @@
 | 
			
		|||
(defwidget rightgroup []
 | 
			
		||||
  (box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
 | 
			
		||||
    (idleinhibit)
 | 
			
		||||
    (volume)
 | 
			
		||||
    (network)
 | 
			
		||||
    (vpn)
 | 
			
		||||
    (bluetooth)
 | 
			
		||||
| 
						 | 
				
			
			@ -75,6 +76,23 @@
 | 
			
		|||
          :duration {duration ?: "500ms"}
 | 
			
		||||
          (children :nth 1))))))
 | 
			
		||||
 | 
			
		||||
(defvar reveal_volume false)
 | 
			
		||||
(defwidget volume []
 | 
			
		||||
  (revealer-on-hover
 | 
			
		||||
    :revealvar reveal_volume
 | 
			
		||||
    :revealvar-name "reveal_volume"
 | 
			
		||||
    (button :onclick 'pavucontrol-qt --tab 3'
 | 
			
		||||
      "")
 | 
			
		||||
    (volume_children)))
 | 
			
		||||
 | 
			
		||||
(defwidget volume_children []
 | 
			
		||||
  (box :class "reveal_children"
 | 
			
		||||
    :orientation "h"
 | 
			
		||||
    :space-evenly false
 | 
			
		||||
    :halign "center"
 | 
			
		||||
    (scale
 | 
			
		||||
      :value '50')))
 | 
			
		||||
 | 
			
		||||
(defpoll vpn_active :initial false
 | 
			
		||||
                    :interval "5s"
 | 
			
		||||
  "scripts/vpn-status")
 | 
			
		||||
| 
						 | 
				
			
			@ -136,7 +154,7 @@
 | 
			
		|||
  (revealer-on-hover
 | 
			
		||||
    :revealvar reveal_sysdisk
 | 
			
		||||
    :revealvar-name "reveal_sysdisk"
 | 
			
		||||
    (metric :label "/home"
 | 
			
		||||
    (metric :label "/home "
 | 
			
		||||
            :value {EWW_DISK["/home"].used_perc}
 | 
			
		||||
            :onchange "")
 | 
			
		||||
    (sysdisk_children)))
 | 
			
		||||
| 
						 | 
				
			
			@ -146,10 +164,10 @@
 | 
			
		|||
    :orientation "h"
 | 
			
		||||
    :space-evenly false
 | 
			
		||||
    :halign "center"
 | 
			
		||||
    (metric :label "/"
 | 
			
		||||
    (metric :label "/ "
 | 
			
		||||
            :value {EWW_DISK["/"].used_perc}
 | 
			
		||||
            :onchange "")
 | 
			
		||||
    (metric :label "/boot"
 | 
			
		||||
    (metric :label "/boot "
 | 
			
		||||
            :value {EWW_DISK["/boot"].used_perc}
 | 
			
		||||
            :onchange "")))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue