Double bar inclusion

I was wondering if it's possible to include double bar on sway? I'm still learning about sway and I have thought of having double bar.

System:
  Kernel: 6.3.8-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=2a2fc659-dbc1-45d8-939b-62a902bed571 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    loglevel=3 ibt=off
  Desktop: sway v: 1.8.1 info: waybar vt: 1 dm: greetd Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: X441NA v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: X441NA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X441NA.205 date: 11/18/2016
Battery:
  ID-1: BAT0 charge: 25.9 Wh (90.6%) condition: 28.6/34.6 Wh (82.7%)
    volts: 10.8 min: 10.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    status: discharging cycles: 468
CPU:
  Info: model: Intel Pentium N4200 bits: 64 type: MCP arch: Goldmont level: v2
    built: 2016 process: Intel 14nm family: 6 model-id: 0x5C (92) stepping: 9
    microcode: 0x48
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 224 KiB
    desc: d-4x24 KiB; i-4x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 2388 min/max: 800/2500 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 2388 2: 2388 3: 2388 4: 2388 bogomips: 8755
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel Apollo Lake [HD Graphics 505] vendor: ASUSTeK driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports: active: eDP-1
    empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5a84
    class-ID: 0300
  Device-2: IMC Networks USB2.0 VGA UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:4 chip-ID: 13d3:5a01
    class-ID: 0e02 serial: <filter>
  Display: wayland server: Xwayland v: 23.1.2 compositor: sway v: 1.8.1
    driver: gpu: i915 display-ID: 1
  Monitor-1: eDP-1 model: AU Optronics 0x2d3c built: 2013 res: 1366x768
    hz: 60 dpi: 112 gamma: 1.2 scale: 1 size: 309x173mm (12.17x6.81")
    diag: 354mm (13.9") ratio: 16:9 modes: 1366x768
  Message: No known Wayland EGL/GBM data sources. API: EGL/GBM
Audio:
  Device-1: Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
    vendor: ASUSTeK driver: snd_hda_intel v: kernel alternate: snd_soc_skl,
    snd_soc_avs, snd_sof_pci_intel_apl bus-ID: 00:0e.0 chip-ID: 8086:5a98
    class-ID: 0403
  API: ALSA v: k6.3.8-zen1-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: ASUSTeK
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000
    bus-ID: 01:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lite-On
    driver: rtl8723be v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 02:00.0 chip-ID: 10ec:b723 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-3:3 chip-ID: 0bda:b721
    class-ID: e001 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 15.55 GiB (3.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LT012-1DG142
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: SDM1 scheme: GPT
Partition:
  ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 15.55 GiB (3.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 15.55 GiB (3.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 15.55 GiB (3.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 465.46 GiB size: 465.46 GiB (100.00%)
    used: 15.55 GiB (3.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.66 GiB used: 104.2 MiB (2.8%)
    priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 62.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 3600
Info:
  Processes: 217 Uptime: 14m wakeups: 1 Memory: available: 3.66 GiB
  used: 2.29 GiB (62.4%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1326 libs: 373 tools: pamac,paru Shell: fish v: 3.6.1 default: Bash
  v: 5.1.16 running-in: alacritty inxi: 3.3.27
Garuda (2.6.16-1):
  System install date:     2023-06-16
  Last full system update: 2023-06-17
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:

What is a double bar?

If you mean a second bar at the top, just take a look at the config of the bar.
I don't know which one you are using, but maybe it's polybar, waybar or something like that. Check your config files. You will find a bar config there and with a little help from the bar's wiki you will be able to configure a second one

3 Likes

You can add a second bar right in the same config. One of the examples on the Waybar wiki has such a configuration ("qoheniac's configuration"); go ahead and have a look if that will be helpful for getting started:

There are a lot of other examples in there as well to help spark some inspiration as you get your bar set up. Also, the Wiki itself is jam-packed with information, and describes how to use features most people don't even know about.

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.