Skip to content

📊 Waybar & Scripts

This setup uses a custom Waybar positioned at the top center, launched specifically with style1.css and a width of 1350px to create a floating aesthetic.

📐 Bar Layout

The bar is divided into three sections:

Left

  • Custom Launcher: Displays the Arch Linux icon. Clicking it opens the custom Rofi menu.
  • Hyprland Workspaces: Displays 11 persistent workspaces. Scroll up/down to cycle through them.
  • System Tray: Standard app tray.

Center

  • Clock: Displays date and time in Mon DD HH:MM:SS AM/PM format. Right-click to change modes. Includes a detailed calendar tooltip.
  • Custom Weather: Displays current weather conditions via a custom Python script.
  • Custom Player: 🎵 Shows current media playback (via player.sh).
  • Backlight: Screen brightness with scroll support.
  • Pulseaudio: Volume control. Click to open pavucontrol.
  • CPU: CPU usage percentage. Click to open btop.
  • Battery: Battery percentage with icon states (charging, full, critical).
  • Custom Notifications: SwayNC integration. Click to toggle, right-click for DND.
  • Memory: RAM usage percentage.
  • Storage: Disk usage percentage.
  • Custom Power: Power button. Click to open the Rofi power menu.

📜 Key Scripts

Script Location Description
weather.py ~/.config/waybar/scripts/ Fetches weather data and formats it for the Waybar JSON output.
player.sh ~/.config/waybar/scripts/ Fetches current media metadata from MPRIS/playerctl.
rofi-power-menu.sh ~/.config/rofi/ Custom Rofi script for logout, reboot, and shutdown options.