Skip to content
TheChatArchiveThe Chat Archive
stripedhyena-nous-7b· Together AIHugging Face Arena Human Preference 55K

write the lines for waybar that the desktops have special names like browser, mail,…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with gpt-4-1106-preview’s answer.
  1. User

    write the lines for waybar that the desktops have special names like browser, mail, documents, office etc, which is needed for work environments.give me symbols for the config which work in waybar

  2. Assistant

    To give special names to desktops in Waybar, you need to configure the desktop environment and the Waybar plugin. Here are the steps to do this:

    1. Install Waybar and the necessary desktop environment plugins:
    sudo pacman -S waybar waybar-floating-shell waybar-extensions-desktop-shells
    
    1. Create a symbolic link for your desktop environment. For example, to give the name "browser" to your desktop with GNOME:
    ln -sf /usr/share/waybar/plugins/desktop-shells/gnome.py ~/.config/waybar/plugins/desktop-shells/
    
    1. Create a symbolic link for each workspace. For example, to give the name "Mail" to your first workspace:
    ln -sf /usr/share/waybar/plugins/desktop-shells/workspace ~/.config/waybar/plugins/desktop-shells/
    
    1. Restart Waybar by killing the current process and starting it again.
    pkill waybar && waybar &
    
    1. Configure the Waybar plugins to display the desired names. Here are examples for GNOME, XFCE, and i3:

    GNOME:

    [desktop_shells]
    plugins = gnome.desktop_shell
    
    [gnome.desktop_shell]
    show_workspaces = true
    

    XFCE:

    [desktop_shells]
    plugins = xfwm4.desktop_shell,xfce.desktop_shell
    
    [xfwm4.desktop_shell]
    show_workspaces = true
    
    [xfce.desktop_shell]
    show_workspaces = true
    

    i3:

    [desktop_shells]
    plugins = i3.desktop_shell
    
    [i3.desktop_shell]
    show_workspaces = true
    

    Now, you should see the special names for your desktops in Waybar.

    Note: You may need to adjust the plugin names and paths according to your system configuration.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.