some updates
This commit is contained in:
parent
4c25000f23
commit
d016fabf0b
3 changed files with 54 additions and 87 deletions
|
@ -8,6 +8,7 @@ import { NotificationPopups } from "./notifications.js"
|
|||
import { BatteryPopup } from "./battery.js"
|
||||
|
||||
const laptop = Utils.exec(`hostname`) === "syl";
|
||||
// const display = Gdk.Display.get_default();
|
||||
console.log(laptop ? "Running on syl" : "Running on kaladin");
|
||||
|
||||
function map_workspaces(id) {
|
||||
|
@ -176,9 +177,9 @@ function Bar(monitor = 0) {
|
|||
App.config({
|
||||
style: css,
|
||||
windows: [
|
||||
Bar(laptop ? 0 : 1), // can be instantiated for each monitor
|
||||
Bar(laptop ? 0 : 2), // can be instantiated for each monitor
|
||||
NotificationPopups(),
|
||||
BatteryPopup()
|
||||
(laptop ? BatteryPopup() : null)
|
||||
],
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue