Add waybar modules

Add compact network module for Northstar, use backlight module
This commit is contained in:
Evie Litherland-Smith 2023-06-06 07:12:27 +01:00
parent 9682d09156
commit 5d17437fc9
4 changed files with 16 additions and 13 deletions

View file

@ -34,7 +34,6 @@
};
startup = [
{command = "dunst";}
# {command = "hyprpaper";}
{command = "waybar";}
];
};
@ -48,7 +47,7 @@
];
"modules-left" = ["sway/workspaces"];
"modules-center" = ["clock#compact"];
"modules-right" = ["network" "battery" "tray"];
"modules-right" = ["network#compact" "backlight" "battery" "tray"];
};
};
};

View file

@ -5,7 +5,7 @@
"margin-top": 10,
"margin-left": 20,
"margin-right": 20,
"margin-bottom": 5,
"margin-bottom": 5
}
// vim: ft=json

View file

@ -93,9 +93,6 @@
"󰁹"
]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
"format-wifi": "{essid} ({signalStrength}%) 󰖩",
"format-ethernet": "Connected 󰈁",
@ -104,6 +101,13 @@
"format-disconnected": "Disconnected 󰈂",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"network#compact": {
"format-wifi": "({signalStrength}%) 󰖩",
"format-ethernet": "{ifname} 󰈁",
"tooltip-format": "{essid}",
"format-linked": "(No IP) 󰈁",
"format-disconnected": "󰈂"
},
"bluetooth": {
"format": "󰂯 {status}",
"format-disabled": "󰂲 {status}",
@ -158,7 +162,7 @@
"1": [],
"2": [],
"3": [],
"4": [],
"4": []
}
},
"sway/workspaces": {
@ -180,7 +184,7 @@
"1": [],
"2": [],
"3": [],
"4": [],
"4": []
}
}
}

View file

@ -13,17 +13,17 @@ in {
rofi-calc
];
extraConfig = {
modi = "run,drun,calc";
modi = "drun";
icon-theme = "Sweet-Rainbow";
show-icons = true;
drun-display-format = "{icon} {name}";
disable-history = false;
hide-scrollbar = true;
display-drun = " Apps ";
# display-drun = "  Apps ";
display-run = " Run ";
display-window = " Window";
display-calc = " Calculator";
sidebar-mode = true;
# display-window = " 﩯 Window";
# display-calc = " √ Calculator";
# sidebar-mode = true;
};
theme = ./config/rofi/catppuccin-macchiato.rasi;
};