Add waybar modules
Add compact network module for Northstar, use backlight module
This commit is contained in:
parent
9682d09156
commit
5d17437fc9
|
@ -34,7 +34,6 @@
|
||||||
};
|
};
|
||||||
startup = [
|
startup = [
|
||||||
{command = "dunst";}
|
{command = "dunst";}
|
||||||
# {command = "hyprpaper";}
|
|
||||||
{command = "waybar";}
|
{command = "waybar";}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -48,7 +47,7 @@
|
||||||
];
|
];
|
||||||
"modules-left" = ["sway/workspaces"];
|
"modules-left" = ["sway/workspaces"];
|
||||||
"modules-center" = ["clock#compact"];
|
"modules-center" = ["clock#compact"];
|
||||||
"modules-right" = ["network" "battery" "tray"];
|
"modules-right" = ["network#compact" "backlight" "battery" "tray"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"margin-top": 10,
|
"margin-top": 10,
|
||||||
"margin-left": 20,
|
"margin-left": 20,
|
||||||
"margin-right": 20,
|
"margin-right": 20,
|
||||||
"margin-bottom": 5,
|
"margin-bottom": 5
|
||||||
}
|
}
|
||||||
|
|
||||||
// vim: ft=json
|
// vim: ft=json
|
||||||
|
|
|
@ -93,9 +93,6 @@
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"battery#bat2": {
|
|
||||||
"bat": "BAT2"
|
|
||||||
},
|
|
||||||
"network": {
|
"network": {
|
||||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
"format-ethernet": "Connected ",
|
"format-ethernet": "Connected ",
|
||||||
|
@ -104,6 +101,13 @@
|
||||||
"format-disconnected": "Disconnected ",
|
"format-disconnected": "Disconnected ",
|
||||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||||
},
|
},
|
||||||
|
"network#compact": {
|
||||||
|
"format-wifi": "({signalStrength}%) ",
|
||||||
|
"format-ethernet": "{ifname} ",
|
||||||
|
"tooltip-format": "{essid}",
|
||||||
|
"format-linked": "(No IP) ",
|
||||||
|
"format-disconnected": ""
|
||||||
|
},
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"format": " {status}",
|
"format": " {status}",
|
||||||
"format-disabled": " {status}",
|
"format-disabled": " {status}",
|
||||||
|
@ -158,7 +162,7 @@
|
||||||
"1": [],
|
"1": [],
|
||||||
"2": [],
|
"2": [],
|
||||||
"3": [],
|
"3": [],
|
||||||
"4": [],
|
"4": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sway/workspaces": {
|
"sway/workspaces": {
|
||||||
|
@ -180,7 +184,7 @@
|
||||||
"1": [],
|
"1": [],
|
||||||
"2": [],
|
"2": [],
|
||||||
"3": [],
|
"3": [],
|
||||||
"4": [],
|
"4": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,17 +13,17 @@ in {
|
||||||
rofi-calc
|
rofi-calc
|
||||||
];
|
];
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
modi = "run,drun,calc";
|
modi = "drun";
|
||||||
icon-theme = "Sweet-Rainbow";
|
icon-theme = "Sweet-Rainbow";
|
||||||
show-icons = true;
|
show-icons = true;
|
||||||
drun-display-format = "{icon} {name}";
|
drun-display-format = "{icon} {name}";
|
||||||
disable-history = false;
|
disable-history = false;
|
||||||
hide-scrollbar = true;
|
hide-scrollbar = true;
|
||||||
display-drun = " Apps ";
|
# display-drun = " Apps ";
|
||||||
display-run = " Run ";
|
display-run = " Run ";
|
||||||
display-window = " Window";
|
# display-window = " Window";
|
||||||
display-calc = " √ Calculator";
|
# display-calc = " √ Calculator";
|
||||||
sidebar-mode = true;
|
# sidebar-mode = true;
|
||||||
};
|
};
|
||||||
theme = ./config/rofi/catppuccin-macchiato.rasi;
|
theme = ./config/rofi/catppuccin-macchiato.rasi;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue