This commit is contained in:
Adithya 2023-09-09 22:17:45 +05:30
parent 96b270cda9
commit b0b7e9d5be
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -16,76 +16,75 @@
modules-center = []; modules-center = [];
modules-right = ["tray" "idle_inhibitor" "network" "bluetooth" "pulseaudio" "backlight" "battery" "clock"]; modules-right = ["tray" "idle_inhibitor" "network" "bluetooth" "pulseaudio" "backlight" "battery" "clock"];
"sway/mode" = { "sway/mode" = {
"format" = "{}"; format = "{}";
}; };
"sway/window" = { "sway/window" = {
"tooltip" = false; "tooltip" = false;
}; };
"idle_inhibitor" = { idle_inhibitor = {
"format" = "{icon}"; format = "{icon}";
"format-icons" = { format-icons = {
"activated" = "󰈈"; activated = "󰈈";
"deactivated" = "󰈉"; deactivated = "󰈉";
}; };
"tooltip" = false; tooltip = false;
}; };
"clock" = { clock = {
"tooltip" = false; tooltip = false;
"interval" = 1; interval = 1;
"format" = "{:%H:%M}"; format = "{:%H:%M}";
"format-alt" = "{:%d %B %Y, %A}"; format-alt = "{:%d %B %Y, %A}";
}; };
"backlight" = { backlight = {
"format" = "{icon}"; format = "{icon}";
"format-icons" = ["󰃚" "󰃛" "󰃜" "󰃝" "󰃞" "󰃟" "󰃠"]; format-icons = ["󰃚" "󰃛" "󰃜" "󰃝" "󰃞" "󰃟" "󰃠"];
}; };
"battery" = { battery = {
"states" = { states = {
"good" = 90; good = 90;
"warning" = 20; warning = 20;
"critical" = 10; critical = 10;
}; };
"format" = "{icon}"; format = "{icon}";
"format-alt" = "{icon} {capacity}% ({time})"; format-alt = "{icon} {capacity}% ({time})";
"format-charging" = "󰂄 {capacity}%"; format-charging = "󰂄 {capacity}%";
"format-plugged" = "󰚥 {capacity}%"; format-plugged = "󰚥 {capacity}%";
"format-icons" = ["󰂃" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹"]; format-icons = ["󰂃" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹"];
"tooltip" = false; tooltip = false;
}; };
"network" = { network = {
"format-wifi" = "󰖩"; format-wifi = "󰖩";
"format-ethernet" = "󰈀"; format-ethernet = "󰈀";
"format-linked" = "󰌷"; format-linked = "󰌷";
"format-disconnected" = "󰖪"; format-disconnected = "󰖪";
"format-alt" = "{ifname}: {ipaddr}/{cidr}"; format-alt = "{ifname}: {ipaddr}/{cidr}";
"tooltip" = false; tooltip = false;
}; };
"pulseaudio" = { pulseaudio = {
"tooltip" = false; tooltip = false;
"format" = "{icon} {format_source}"; format = "{icon} {format_source}";
"format-muted" = "󰝟 {format_source}"; format-muted = "󰝟 {format_source}";
"format-bluetooth" = "󰂰 {icon} {format_source}"; format-bluetooth = "󰂰 {icon} {format_source}";
"format-bluetooth-muted" = "󰂰 󰝟 {format_source}"; format-bluetooth-muted = "󰂰 󰝟 {format_source}";
"format-source" = "󰍬"; format-source = "󰍬";
"format-source-muted" = "󰍭"; format-source-muted = "󰍭";
"format-icons" = { format-icons = {
"headphones" = "󰋋"; headphones = "󰋋";
"headset" = "󰋎"; headset = "󰋎";
"car" = "󰄋"; default = ["󰕿" "󰖀" "󰕾"];
"default" = ["󰕿" "󰖀" "󰕾"];
}; };
"on-click" = "${pkgs.pavucontrol}/bin/pavucontrol"; on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
}; };
"bluetooth" = { bluetooth = {
"format" = "󰂯"; format = "󰂯";
"format-connected" = "󰂱"; format-connected = "󰂱";
"format-disabled" = "󰂲"; format-disabled = "󰂲";
"format-off" = "󰂲"; format-off = "󰂲";
"format-connected-battery" = "󰂱 {device_battery_percentage}%"; format-connected-battery = "󰂱 {device_battery_percentage}%";
"on-click" = "${pkgs.blueman}/bin/blueman-manager"; on-click = "${pkgs.blueman}/bin/blueman-manager";
}; };
"tray" = { tray = {
"spacing" = 4; spacing = 4;
}; };
}; };
}; };