2.5 kB · 103 lines
Markdown

+++ title = "Setup" weight = 2 description = "Configure your slowshell bar, widgets, and wallpapers." +++

[[Slowshell]] is an empty-slate until configured. The default config has only one bar without a wallpaper.

NOTE: The config's language is KDL, you can read about it here.

To start, create your config file at ~/.config/slowshell:

{% %} ~/.config/ slowshell/ config.kdl {% %}

Here's a very basic config:

// If you don't want your wallpaper managed by slowshell,
// you can remove this block 
wallpaper {
  file "/path/to/file" // Path to your wallpaper. e.g: ~/Pictures/Wallpapers/firewatch.jpg
}

panels {
  // Basic panel for all monitors
  panel "Main" position="top" transparent=#true {
    components {
      left {
        component "core/workspaces" {
          label "Workspaces"
        }
        component "core/window" {
          label "Window"
        }
      }

      center {
        component "core/nowplaying" {
          label "Now Playing"
          "show-artist" #true
          "controls" #true
          "max-length" 40
        }
        component "core/clock" {
          label "Clock"
          format "%I:%M %p · %b %-d"
        }
      }

      right {
        component "core/tray" {
          label "Tray"
        }
        group "Media" {
          item "core/audio" {
            label "Audio"
            "show-percent" #true
          }
          item "core/separator" {
            label "Sep"
            opacity 0.05
          }
          item "core/network" {
            label "Network"
            icon #true
            ssid #true
          }
          item "core/separator" {
            label "Sep"
            opacity 0.05
          }
          item "core/notifications" {
            label "Notifs"
          }
        }
        component "core/system" {
          label "Sysmon"
          interval 5
          icons #true
          progress #true
          labels #true
          progress-direction "vertical"
          items "cpu" "mem" // load, net, temp
        }
        component "core/icon" {
          label "Power"
          menu "menus/actions"
        }
      }
    }
  }
}

Once ready, you can see [[Configuration]] (and how [[Configuration#Watching|watching works]]) for more details, check [[Configuration#Config structure]], and check [[Theme and palette]] and [[CSS and icss]] for styling your shell.