Added waybar configs
This commit is contained in:
		
							parent
							
								
									016832c36d
								
							
						
					
					
						commit
						2d1aa2c054
					
				
							
								
								
									
										102
									
								
								waybar/config
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										102
									
								
								waybar/config
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,102 @@
 | 
			
		||||
{
 | 
			
		||||
  "height": 30,
 | 
			
		||||
  "modules-left": [
 | 
			
		||||
    "sway/workspaces",
 | 
			
		||||
    "sway/mode",
 | 
			
		||||
    "custom/media"
 | 
			
		||||
  ],
 | 
			
		||||
  "modules-right": [
 | 
			
		||||
    "network",
 | 
			
		||||
    "custom/vpn",
 | 
			
		||||
    "pulseaudio",
 | 
			
		||||
    "custom/pacman",
 | 
			
		||||
    "temperature",
 | 
			
		||||
    "battery",
 | 
			
		||||
    "clock",
 | 
			
		||||
    "tray",
 | 
			
		||||
    "idle_inhibitor"
 | 
			
		||||
  ],
 | 
			
		||||
  "custom/vpn": {
 | 
			
		||||
    "format": "  {}  ",
 | 
			
		||||
    "exec": "vpn-status",
 | 
			
		||||
    "interval": 1
 | 
			
		||||
  },
 | 
			
		||||
  "custom/pacman": {
 | 
			
		||||
    "format": "{}",
 | 
			
		||||
    "exec": "waybar-pacman",
 | 
			
		||||
    "interval": 300
 | 
			
		||||
  },
 | 
			
		||||
  "idle_inhibitor": {
 | 
			
		||||
    "format": "{icon}",
 | 
			
		||||
    "format-icons": {
 | 
			
		||||
      "activated": "",
 | 
			
		||||
      "deactivated": ""
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "tray": {
 | 
			
		||||
    "spacing": 10
 | 
			
		||||
  },
 | 
			
		||||
  "clock": {
 | 
			
		||||
    "format": "{:%b %d, %a  %H:%M}",
 | 
			
		||||
    "tooltip-format": "<big>{:%B %Y}</big>\n<tt>{calendar}</tt>"
 | 
			
		||||
  },
 | 
			
		||||
  "temperature": {
 | 
			
		||||
    "critical-threshold": 80,
 | 
			
		||||
    "format": "{icon} {temperatureC}°C",
 | 
			
		||||
    "format-icons": [
 | 
			
		||||
      "",
 | 
			
		||||
      "",
 | 
			
		||||
      ""
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "battery": {
 | 
			
		||||
    "states": {
 | 
			
		||||
      "good": 95,
 | 
			
		||||
      "warning": 30,
 | 
			
		||||
      "critical": 15
 | 
			
		||||
    },
 | 
			
		||||
    "format": "{icon} {capacity}%",
 | 
			
		||||
    "format-charging": " {capacity}%",
 | 
			
		||||
    "format-plugged": " {capacity}%",
 | 
			
		||||
    "format-alt": "{time} {icon}",
 | 
			
		||||
    "format-icons": [
 | 
			
		||||
      "",
 | 
			
		||||
      "",
 | 
			
		||||
      "",
 | 
			
		||||
      "",
 | 
			
		||||
      ""
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "network": {
 | 
			
		||||
    "format-wifi": " {essid}",
 | 
			
		||||
    "interval": 10,
 | 
			
		||||
    "tooltip-format-wifi": "SSID: {essid}\nSignal strength: {signalStrength}% ({signaldBm} dBm)\nFreqency: {frequency}MHz\n\nIP: {ipaddr}\nInterface: {ifname}",
 | 
			
		||||
    "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
 | 
			
		||||
    "format-linked": "{ifname} (No IP) ",
 | 
			
		||||
    "format-disconnected": "Disconnected ⚠",
 | 
			
		||||
    "format-alt": "{ifname}: {ipaddr}/{cidr}",
 | 
			
		||||
    "on-click-right": "nm-connection-editor"
 | 
			
		||||
  },
 | 
			
		||||
  "pulseaudio": {
 | 
			
		||||
    "format": "{icon} {volume}% {format_source}",
 | 
			
		||||
    "format-bluetooth": "{volume}% {icon} {format_source}",
 | 
			
		||||
    "format-bluetooth-muted": " {icon} {format_source}",
 | 
			
		||||
    "format-muted": " {format_source}",
 | 
			
		||||
    "format-source": "",
 | 
			
		||||
    "format-source-muted": "",
 | 
			
		||||
    "format-icons": {
 | 
			
		||||
      "headphone": "",
 | 
			
		||||
      "hands-free": "",
 | 
			
		||||
      "headset": "",
 | 
			
		||||
      "phone": "",
 | 
			
		||||
      "portable": "",
 | 
			
		||||
      "car": "",
 | 
			
		||||
      "default": [
 | 
			
		||||
        "",
 | 
			
		||||
        "",
 | 
			
		||||
        ""
 | 
			
		||||
      ]
 | 
			
		||||
    },
 | 
			
		||||
    "on-click-right": "pavucontrol"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										88
									
								
								waybar/style.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										88
									
								
								waybar/style.css
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,88 @@
 | 
			
		||||
* {
 | 
			
		||||
    border: none;
 | 
			
		||||
    border-radius: 0;
 | 
			
		||||
    /* `otf-font-awesome` is required to be installed for icons */
 | 
			
		||||
    font-family: Roboto, Helvetica, Arial, sans-serif;
 | 
			
		||||
    font-size: 13px;
 | 
			
		||||
    min-height: 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
window#waybar {
 | 
			
		||||
    background-color: rgba(44, 48, 59, 0.5);
 | 
			
		||||
    border-bottom: 3px solid rgba(100, 114, 125, 0.5);
 | 
			
		||||
    color: #ffffff;
 | 
			
		||||
    transition-property: background-color;
 | 
			
		||||
    transition-duration: .5s;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
window#waybar.hidden {
 | 
			
		||||
    opacity: 0.2;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
window#waybar.empty {
 | 
			
		||||
    background-color: transparent;
 | 
			
		||||
}
 | 
			
		||||
window#waybar.solo {
 | 
			
		||||
    background-color: #FFFFFF;
 | 
			
		||||
}
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
window#waybar.termite {
 | 
			
		||||
    background-color: #3F3F3F;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
window#waybar.chromium {
 | 
			
		||||
    background-color: #000000;
 | 
			
		||||
    border: none;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#workspaces button {
 | 
			
		||||
    padding: 0 10px;
 | 
			
		||||
    background-color: transparent;
 | 
			
		||||
    color: #ffffff;
 | 
			
		||||
    border-bottom: 3px solid transparent;
 | 
			
		||||
    font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
 | 
			
		||||
#workspaces button:hover {
 | 
			
		||||
    background: rgba(0, 0, 0, 0.2);
 | 
			
		||||
    box-shadow: inherit;
 | 
			
		||||
    border-bottom: 3px solid #ffffff;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#workspaces button.focused {
 | 
			
		||||
    background-color: #64727D;
 | 
			
		||||
    border-bottom: 3px solid #ffffff;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#workspaces button.urgent {
 | 
			
		||||
    background-color: #eb4d4b;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#mode {
 | 
			
		||||
    background-color: #64727D;
 | 
			
		||||
    border-bottom: 3px solid #ffffff;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#clock,
 | 
			
		||||
#battery,
 | 
			
		||||
#cpu,
 | 
			
		||||
#memory,
 | 
			
		||||
#temperature,
 | 
			
		||||
#backlight,
 | 
			
		||||
#network,
 | 
			
		||||
#pulseaudio,
 | 
			
		||||
#custom-media,
 | 
			
		||||
#tray,
 | 
			
		||||
#mode,
 | 
			
		||||
#idle_inhibitor,
 | 
			
		||||
#mpd {
 | 
			
		||||
    margin: 0 8px;
 | 
			
		||||
    color: #ffffff;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#clock {
 | 
			
		||||
    font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user