Created
November 21, 2016 22:54
-
-
Save rawsh/aa7c217e2b21e29ec0a62b654f1a8ad9 to your computer and use it in GitHub Desktop.
yabar config file for my i3 desktop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bar-list = ["topbar", "otherbar"]; | |
topbar: { | |
// List of all blocks | |
block-list: ["workspaces", "space", "title", "cpu", "memory", "network", "date"]; | |
// Font (considering using an Icon Font - like Material Icons) | |
// Only on first monitor | |
font: "DejaVu Sans Mono 8" | |
monitor: "HDMI-1"; | |
position: "bottom"; | |
height: 25; | |
background-color-argb: 0x80000000; | |
// background-color-nowindow-argb: 0x00000000; | |
underline-size: 5; | |
overline-size: 0; | |
slack-size: 0; | |
workspaces: { | |
exec: "YABAR_WORKSPACE"; | |
internal-option1: "web term 3 4" | |
align: "left"; | |
justify: "center"; | |
type: "persist"; | |
fixed-size: 100; | |
background-color-rgb: 0x303030; | |
underline-color-rgb: 0x242424; | |
// underline-color-rgb: 0xC62828; | |
} | |
space: { | |
exec: "echo"; | |
align: "left"; | |
fixed-size: 30; | |
type: "once"; | |
background-color-argb: 0x80000000; | |
} | |
title: { | |
exec: "YABAR_TITLE"; | |
align: "left"; | |
justify: "left"; | |
fixed-size: 1210; | |
type: "persist"; | |
variable-size: false; // Save some space...; | |
background-color-argb: 0x80000000; | |
} | |
battery: { | |
exec: "YABAR_BATTERY"; | |
internal-option1: "BAT0"; | |
internal-option2: ""; | |
internal-suffix: "%"; | |
internal-spacing: true; | |
align: "right"; | |
fixed-size: 180; | |
type: "periodic"; | |
interval: 3; | |
background-color-rgb: 0x689F38; | |
underline-color-rgb: 0x33691E; | |
// underline-color-rgb: 0x689F38; | |
} | |
cpu: { | |
exec: "YABAR_CPU"; | |
internal-prefix: " "; | |
internal-suffix: "%"; | |
internal-spacing: false; | |
align: "right"; | |
fixed-size: 100; | |
type: "periodic"; | |
interval: 2; | |
background-color-rgb: 0x303030; | |
underline-color-rgb: 0x242424; | |
// underline-color-rgb: 0xF57C00; | |
} | |
memory: { | |
exec: "YABAR_MEMORY"; | |
internal-prefix: " "; | |
internal-spacing: true; | |
align: "right"; | |
fixed-size: 100; | |
type: "periodic"; | |
interval: 1; | |
background-color-rgb: 0x242424; | |
underline-color-rgb: 0x202020; | |
// underline-color-rgb: 0xEF6C00; | |
} | |
network: { | |
exec: "YABAR_BANDWIDTH"; | |
internal-prefix: ""; | |
internal-spacing: true; | |
internal-option1: "enp2s0"; | |
internal-option2: " "; | |
align: "right"; | |
fixed-size: 180; | |
type: "periodic"; | |
interval: 2; | |
background-color-rgb: 0x202020; | |
underline-color-rgb: 0x161616; | |
// underline-color-rgb: 0x0097A7; | |
} | |
date: { | |
exec: "YABAR_DATE"; | |
internal-option1: "%a %d %b, %I:%M"; | |
internal-prefix: ""; | |
align: "right"; | |
fixed-size: 200; | |
type: "periodic"; | |
interval: 1; | |
background-color-rgb: 0x161616; | |
underline-color-rgb: 0x121212; | |
// underline-color-rgb: 0x00838F; | |
} | |
} | |
otherbar: { | |
// List of all blocks | |
block-list: ["workspaces", "space", "title", "cpu", "memory", "network", "date"]; | |
// Font (considering using an Icon Font - like Material Icons) | |
// Only on first monitor | |
font: "DejaVu Sans Mono 8" | |
monitor: "VGA-1"; | |
position: "bottom"; | |
height: 25; | |
background-color-argb: 0x80000000; | |
// background-color-nowindow-argb: 0x00000000; | |
underline-size: 5; | |
overline-size: 0; | |
slack-size: 0; | |
workspaces: { | |
exec: "YABAR_WORKSPACE"; | |
internal-option1: "web term 3 4" | |
align: "left"; | |
justify: "center"; | |
type: "persist"; | |
fixed-size: 100; | |
background-color-rgb: 0x303030; | |
underline-color-rgb: 0x242424; | |
// underline-color-rgb: 0xC62828; | |
} | |
space: { | |
exec: "echo"; | |
align: "left"; | |
fixed-size: 30; | |
type: "once"; | |
background-color-argb: 0x80000000; | |
} | |
title: { | |
exec: "YABAR_TITLE"; | |
align: "left"; | |
justify: "left"; | |
fixed-size: 1210; | |
type: "persist"; | |
variable-size: false; // Save some space...; | |
background-color-argb: 0x80000000; | |
} | |
battery: { | |
exec: "YABAR_BATTERY"; | |
internal-option1: "BAT0"; | |
internal-option2: ""; | |
internal-suffix: "%"; | |
internal-spacing: true; | |
align: "right"; | |
fixed-size: 180; | |
type: "periodic"; | |
interval: 3; | |
background-color-rgb: 0x689F38; | |
underline-color-rgb: 0x33691E; | |
// underline-color-rgb: 0x689F38; | |
} | |
cpu: { | |
exec: "YABAR_CPU"; | |
internal-prefix: " "; | |
internal-suffix: "%"; | |
internal-spacing: false; | |
align: "right"; | |
fixed-size: 100; | |
type: "periodic"; | |
interval: 2; | |
background-color-rgb: 0x303030; | |
underline-color-rgb: 0x242424; | |
// underline-color-rgb: 0xF57C00; | |
} | |
memory: { | |
exec: "YABAR_MEMORY"; | |
internal-prefix: " "; | |
internal-spacing: true; | |
align: "right"; | |
fixed-size: 100; | |
type: "periodic"; | |
interval: 1; | |
background-color-rgb: 0x242424; | |
underline-color-rgb: 0x202020; | |
// underline-color-rgb: 0xEF6C00; | |
} | |
network: { | |
exec: "YABAR_BANDWIDTH"; | |
internal-prefix: ""; | |
internal-spacing: true; | |
internal-option1: "enp2s0"; | |
internal-option2: " "; | |
align: "right"; | |
fixed-size: 180; | |
type: "periodic"; | |
interval: 2; | |
background-color-rgb: 0x202020; | |
underline-color-rgb: 0x161616; | |
// underline-color-rgb: 0x0097A7; | |
} | |
date: { | |
exec: "YABAR_DATE"; | |
internal-option1: "%a %d %b, %I:%M"; | |
internal-prefix: ""; | |
align: "right"; | |
fixed-size: 200; | |
type: "periodic"; | |
interval: 1; | |
background-color-rgb: 0x161616; | |
underline-color-rgb: 0x121212; | |
// underline-color-rgb: 0x00838F; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment