Compare commits

..

3 Commits

4 changed files with 73 additions and 24 deletions

View File

@ -8,6 +8,6 @@
./browsers.nix
./productivity.nix
./media.nix
./hyprland/hyprland.nix
#./hyprland/hyprland.nix
];
}

View File

@ -199,6 +199,7 @@
gestures = {
workspace_swipe = true;
workspace_swipe_fingers = 3;
workspace_swipe_distance = 450;
};
};

View File

@ -11,16 +11,21 @@
"HDMI-A-1"
];
modules-left = ["hyprland/workspaces" "hyprland/window"];
modules-center = ["tray"];
modules-right = ["pulseaudio" "backlight" "bluetooth" "network" "battery" "clock" "custom/power"];
modules-center = ["bluetooth" "tray"];
modules-right = ["pulseaudio" "backlight" "battery" "clock" "custom/power"];
"hyprland/workspaces" = {
on-scroll-up = "hyprctl dispatch workspace e+1";
on-scroll-down = "hyprctl dispatch workspace e-1";
};
"hyrland/window" = {
"hyprland/window" = {
separate-outputs = true;
format = " 󱂬 {class}";
icon = true;
rewrite = {
"(.*) Mozilla Firefox" = "Firefox";
};
};
# ----------------------------------------------
@ -44,6 +49,26 @@
format = "󰃠 {percent}%";
};
"bluetooth" = {
format-disabled = "󰂲";
format-off = "󰂲";
format-on = "󰂯";
format-connected = "󰂱";
tooltip-format-connected = "Connected to {device_alias}";
format-connected-battery = "󰂱 {device_battery_percentage}%";
};
"network" = {
format = "{ifname}";
format-ethernet = "󰈀";
tooltip-format-ethernet = "{ifname}";
format-wifi = "{icon}";
tooltip-format-wifi = "Connected to {essid} with IP: {ipaddr} and signal strength: {signalStrength}";
format-disconnected = "󰤭";
tooltip-format-disconnected = "Disconnected";
format-icons = [ "󰤯" "󰤟" "󰤢" "󰤥" "󰤨" ];
};
"battery" = {
states = {
warning = 30;
@ -119,11 +144,10 @@
}
#battery.charging {
background-color: @green;
color: @base;
color: @green;
}
#battery.warning:not(.charging) {
#battery.warning:not(.charging), #battery.critical:not(.charging) {
background-color: @red;
color: @base;
}
@ -142,13 +166,13 @@
}
#workspaces button {
color: @lavender;
color: @text;
border-radius: 1rem;
padding: 0.4rem;
}
#workspaces button.active {
color: @sky;
color: @mauve;
border-radius: 1rem;
}
@ -178,6 +202,18 @@
border-radius: 0;
}
#bluetooth.off {
color: @red;
}
#bluetooth.on {
color: @blue;
}
#bluetooth.connected {
color: @blue;
}
#pulseaudio {
color: @maroon;
border-radius: 1rem 0px 0px 1rem;
@ -204,6 +240,18 @@
margin-right: 1rem;
border-radius: 1rem;
}
#network {
color: @text;
}
#network.disabled {
color: @red;
}
#network.disconnected {
color: @red;
}
'';
};
}

View File

@ -4,7 +4,7 @@
./graphics.nix
./powerManagement.nix
./wireless.nix
./wayland.nix
#./wayland.nix
./syncthing.nix
./kdePlasma.nix
./media.nix