save
This commit is contained in:
@@ -28,6 +28,45 @@ local blocks = {
|
|||||||
color = colors.light_blue,
|
color = colors.light_blue,
|
||||||
underline = true,
|
underline = true,
|
||||||
}),
|
}),
|
||||||
|
oxwm.bar.block.static({
|
||||||
|
text = "│",
|
||||||
|
interval = 999999999,
|
||||||
|
color = colors.lavender,
|
||||||
|
underline = false,
|
||||||
|
}),
|
||||||
|
oxwm.bar.block.shell({
|
||||||
|
format = "{}",
|
||||||
|
command = "uname -r",
|
||||||
|
interval = 999999999,
|
||||||
|
color = colors.red,
|
||||||
|
underline = true,
|
||||||
|
}),
|
||||||
|
oxwm.bar.block.static({
|
||||||
|
text = "│",
|
||||||
|
interval = 999999999,
|
||||||
|
color = colors.lavender,
|
||||||
|
underline = false,
|
||||||
|
}),
|
||||||
|
oxwm.bar.block.datetime({
|
||||||
|
format = "{}",
|
||||||
|
date_format = "%a, %b %d - %-I:%M %P",
|
||||||
|
interval = 1,
|
||||||
|
color = colors.cyan,
|
||||||
|
underline = true,
|
||||||
|
}),
|
||||||
|
-- Uncomment to add battery status (useful for laptops)
|
||||||
|
oxwm.bar.block.battery({
|
||||||
|
format = "Bat: {}%",
|
||||||
|
charging = "⚡ Bat: {}%",
|
||||||
|
discharging = "- Bat: {}%",
|
||||||
|
full = "✓ Bat: {}%",
|
||||||
|
interval = 30,
|
||||||
|
color = colors.green,
|
||||||
|
underline = true,
|
||||||
|
-- click: run a command when the block is clicked
|
||||||
|
-- click = "alacritty -e btop",
|
||||||
|
-- click = { command = "bluetui", floating = true },
|
||||||
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
oxwm.set_terminal(terminal)
|
oxwm.set_terminal(terminal)
|
||||||
@@ -59,7 +98,7 @@ oxwm.bar.set_scheme_selected(colors.cyan, colors.bg, colors.purple)
|
|||||||
oxwm.bar.set_scheme_urgent(colors.red, colors.bg, colors.red)
|
oxwm.bar.set_scheme_urgent(colors.red, colors.bg, colors.red)
|
||||||
|
|
||||||
oxwm.key.bind({ modkey }, "B", oxwm.spawn({ "librewolf" }))
|
oxwm.key.bind({ modkey }, "B", oxwm.spawn({ "librewolf" }))
|
||||||
oxwm.key.bind({ modkey }, "D", oxwm.spawn({ "vesktop-bin" }))
|
oxwm.key.bind({ modkey }, "D", oxwm.spawn({ "vesktop" }))
|
||||||
oxwm.key.bind({ modkey }, "G", oxwm.spawn({ "steam" }))
|
oxwm.key.bind({ modkey }, "G", oxwm.spawn({ "steam" }))
|
||||||
oxwm.key.bind({ modkey }, "M", oxwm.spawn({ "ATLauncher" }))
|
oxwm.key.bind({ modkey }, "M", oxwm.spawn({ "ATLauncher" }))
|
||||||
oxwm.key.bind({ modkey }, "S", oxwm.spawn({ "flatpak", "run", "org.vinegarhq.Sober" }))
|
oxwm.key.bind({ modkey }, "S", oxwm.spawn({ "flatpak", "run", "org.vinegarhq.Sober" }))
|
||||||
|
|||||||
Reference in New Issue
Block a user