Skip to content

Configuration

The configuration file is located at:

~/.config/mewline/config.json

If the file does not exist, the default configuration is used automatically. You can generate it at any time:

Terminal window
mewline --generate-default-config

KeyTypeDescription
namestrName of the active theme (integrates with Pawlette)

KeyTypeDescription
screen_cornersboolEnable rounded screen corners overlay
intercept_notificationsboolIntercept and display system notifications through Mewline
osd_enabledboolEnable the On-Screen Display (OSD) overlay

KeyTypeDescription
timeoutintMilliseconds before the OSD hides automatically
anchorstrScreen position of the OSD (e.g. bottom-center)
KeyTypeDescription
countintTotal number of workspaces
hide_unoccupiedboolHide workspaces that have no open windows
ignoredlist[int]List of workspace IDs to exclude from the bar
reverse_scrollboolInvert mouse scroll direction for workspace switching
empty_scrollboolAllow scrolling through empty workspaces
navigate_emptyboolAllow keyboard navigation to empty workspaces
icon_mapdict[str, str]Map workspace IDs to custom icons or labels
KeyTypeDescription
icon_sizeintSize of tray icons in pixels
ignorelist[str]List of application names to exclude from the tray
KeyTypeDescription
iconstrIcon for the power button
icon_sizestrIcon size
tooltipboolShow tooltip on hover
KeyTypeDescription
formatstrDate/time format string — uses Python strftime syntax (e.g. %H:%M %d %b)
KeyTypeDescription
show_labelboolDisplay a text label alongside the battery icon
tooltipboolShow tooltip with percentage on hover
KeyTypeDescription
iconstrIcon for the OCR button
icon_sizestrIcon size
tooltipboolShow tooltip on hover
default_langstrDefault language(s) for Tesseract OCR (e.g. eng, eng+rus)

KeyTypeDescription
lock_iconstrIcon for the lock action
lock_icon_sizestrIcon size
suspend_iconstrIcon for the suspend action
suspend_icon_sizestrIcon size
logout_iconstrIcon for the logout action
logout_icon_sizestrIcon size
reboot_iconstrIcon for the reboot action
reboot_icon_sizestrIcon size
shutdown_iconstrIcon for the shutdown action
shutdown_icon_sizestrIcon size

Controls the compact Dynamic Island view showing the active window and currently playing music.

KeyTypeDescription
enable_iconboolShow the application icon next to the window title
truncationboolTruncate long window titles
truncation_sizeintMaximum number of characters before truncation
title_maplist[tuple[str, str, str]]Custom title replacement rules
KeyTypeDescription
enabledboolEnable the music/media player display
truncationboolTruncate long track titles
truncation_sizeintMaximum track title length
default_album_logostrURL or path to the fallback album cover image
KeyTypeDescription
wallpapers_dirslist[str]List of directories to search for wallpapers
methodstrWallpaper setter method — currently supported: swww
save_current_wallboolPersist the currently set wallpaper across restarts
current_wall_pathstrPath to the file that stores the current wallpaper path

{
"theme": {
"name": "catppuccin-mocha"
},
"options": {
"screen_corners": true,
"intercept_notifications": true,
"osd_enabled": true
},
"modules": {
"osd": {
"timeout": 2000,
"anchor": "bottom-center"
},
"workspaces": {
"count": 10,
"hide_unoccupied": true,
"ignored": [],
"reverse_scroll": false,
"empty_scroll": false,
"navigate_empty": false,
"icon_map": {}
},
"system_tray": {
"icon_size": 16,
"ignore": []
},
"power": {
"icon": "󰐦",
"icon_size": "16px",
"tooltip": true
},
"datetime": {
"format": "%H:%M %d %b"
},
"battery": {
"show_label": false,
"tooltip": true
},
"ocr": {
"icon": "󰴉",
"icon_size": "16px",
"tooltip": true,
"default_lang": "eng+rus"
},
"dynamic_island": {
"power_menu": {
"lock_icon": "󰌾",
"lock_icon_size": "22px",
"suspend_icon": "󰤄",
"suspend_icon_size": "22px",
"logout_icon": "󰍃",
"logout_icon_size": "22px",
"reboot_icon": "󰑓",
"reboot_icon_size": "22px",
"shutdown_icon": "󰐥",
"shutdown_icon_size": "22px"
},
"compact": {
"window_titles": {
"enable_icon": true,
"truncation": true,
"truncation_size": 40,
"title_map": []
},
"music": {
"enabled": true,
"truncation": true,
"truncation_size": 35,
"default_album_logo": ""
}
},
"wallpapers": {
"wallpapers_dirs": ["~/Pictures/Wallpapers"],
"method": "swww",
"save_current_wall": true,
"current_wall_path": "~/.config/mewline/current_wallpaper"
}
}
}
}