-
Notifications
You must be signed in to change notification settings - Fork 2
Config reference
By default Q::Shell will look for a qshellrc config file in ~/.config.
-
Panels: a comma separated list of the Panels you defined -
Stylesheet: relative path to stylesheet to load -
WmManagePanels(default:true): the window manager should not handle panels (workaround for i3) -
WmManageDialogs(default:true): the window manager should not handle dialogs (workaround for i3)
-
Background: absolute path to background to set -
Visible(default:true): whether the desktop should be shown (workaround for i3)
-
Width,Height: dimensions of Dash in percentage of screen width and height respectively. -
SlidePosition: how the Dash should slide in (KWin only), specified in integer. -
SearchBelow(default:false): whether the search box should appear below applications. -
OffsetTop,OffsetLeft: absolute offset of Dash in pixels (subject to change). -
WmManage: whether the window manager should manage the Dash (workaround for i3).
-
Type: must bePanel -
Width,Height: dimensions of panel in percentage of screen dimensions (addpxsuffix to specify dimensions in pixels) -
Position: position of layout in screen, specified in integer:- 0: Left
- 1: Top
- 2: Right
- 3: Bottom
-
Direction: direction of panel layout, specified in integer:- 0: LeftToRight (default)
- 1: RightToLeft
- 2: TopToBottom
- 3: BottomToTop
-
Transparent(default:false): whether panel should be transparent -
DisplayShadow(default:true): whether panel should display shadow. (Displays below the panel and windows) -
OffsetTop,OffsetLeft,OffsetRight,OffsetBottom: offset in screen in percentages (addpxsuffix to specify dimensions in pixels) -
BorderRadius: rounds the corners of the panel by specified pixels. -
Struts(default:true): whether the panel should be sticky when in contact with a window. -
Widgets: comma separated list of widget names-
stretchwill always add a dynamically sized stretch widget to the panel -
stretch=nwill always add a dynamically sized stretch widget with rationto the panel
-
-
AlwaysTop(default:false): the panel should always be on top -
AlwaysBottom(default:false): the panel should always be on bottom -
StretchMask(default:false): mask out stretch widgets (NOTE: doesn't work withBorderRadius)
A widget is defined in a section in your config file. All widgets must have a Type property and their names must be specified in the sections' header.
An icon can either be a native theme icon (by default) or a custom icon specified by absolute path.
A macOS/Unity-style window controls widget. Button controls will only be shown if windows is maximized.
-
Type: must beWindowControl -
Controls(default:XMmt): button layout-
X: close -
M: maximize -
m: minimize -
t: name of window
-
Battery percentage (not tested).
-
Type: must beBattery
Systray implementation for StatusNotification standard (use xembedsniproxy to embed old xembed-style systray icons).
-
Type: must beSystray -
Size: size of icons in pixels
NetworkManager controls.
-
Type: must beNetwork -
IconConnected,IconDisconnected: icon of button to display in specified network states. -
Size: size of icon pin pixels
Pulseaudio volume controls.
-
Type: must beVolume -
IconHigh,IconMedium,IconLow,IconMuted: icon of button to display in specified volume states. -
Size: size of icon in pixels -
ShowLabel: shows the current volume next to the icon
-
Type: must beVolume -
Format(default:hh:mm AP): datetime format (see QTime reference)
A button which shows you KDE's logout screen upon click.
-
Type: must beSystray -
Size: size of icons in pixels -
Icon: icon of button
A button which activates the dash.
-
Type: must beDashButton -
Icon: icon of button -
Size: size of icons in pixels
A user specified button.
-
Type: must beButton Icon-
Size: size of icon in pixels -
Label: button's text -
LabelScript(mutually exclusive withLabel): path of script to run, the script's stdout will be used as button's text. -
Interval: refresh rate for button's script.
A user specified label
-
Type: must beLabel -
Fifo(default:false): Enables FiFo mode for label script. The label's script should write to stdout and flush the output by writing[flush]to stderr. - (see Button for more configuration values)
Label's text can also be specified in a subset of HTML. (See Qt's reference)
A widget containing tasks.
-
Type: must beTasks -
Size: size of Task in pixels. -
ByDesktop(default:false): whether to filter tasks by desktop -
Direction: direction of tasks layout, specified in integer:- 0: LeftToRight (default)
- 1: RightToLeft
- 2: TopToBottom
- 3: BottomToTop
-
Pinned: comma separated list of pinned tasks
A task which belongs to a Tasks widget.
-
Type: must beTask -
Command: command to run -
Class: the X11 window class for the task (see the class part of the window's WM_CLASS property) Icon-
Size: size of icon in pixels
Dragging and dropping items onto the widget will move it to the trash.
Upon right click, the widget will open the trash (stored in ~/.local/share/Trash/files/)
Upon left click, the widget will reveal a context menu allowing the user to open or empty the trash.
-
Type: must beTrash -
IconFull,IconEmpty: icon of button based on trash's states