Compare commits
No commits in common. "230f7fa4ecee93e4ead25c391fa0468b8853c5c9" and "4952b47cdada5677a2f6cdf93efa1f14e7c4e394" have entirely different histories.
230f7fa4ec
...
4952b47cda
@ -167,109 +167,6 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
# Disable stylix to add full css, I only need it to add colors
|
||||
stylix.targets.waybar.addCss = false;
|
||||
|
||||
# Enable and install waybar
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
style = ''
|
||||
#workspaces {
|
||||
background-color: @base01;
|
||||
margin: 0.25em;
|
||||
border-radius: 1em;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 0 0.5em;
|
||||
color: @base06;
|
||||
}
|
||||
|
||||
#workspaces button.empty {
|
||||
color: @base03;
|
||||
}
|
||||
|
||||
#workspaces button.visible {
|
||||
color: @base06;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @base0D;
|
||||
}
|
||||
|
||||
#window {
|
||||
color: @base0B;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
#cpu,
|
||||
#memory,
|
||||
#temperature,
|
||||
#battery,
|
||||
#clock {
|
||||
color: @base00;
|
||||
background-color: @base0C;
|
||||
margin: 0.25em;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
|
||||
#tray {
|
||||
background-color: @base00;
|
||||
}
|
||||
'';
|
||||
settings = {
|
||||
mainBar = {
|
||||
height = 30;
|
||||
modules-left = [
|
||||
"hyprland/workspaces"
|
||||
"hyprland/window"
|
||||
];
|
||||
modules-center = [
|
||||
];
|
||||
modules-right = [
|
||||
"cpu"
|
||||
"memory"
|
||||
"temperature"
|
||||
"battery"
|
||||
"clock"
|
||||
"tray"
|
||||
];
|
||||
"hyprland/workspaces" = {
|
||||
persistent-workspaces = {
|
||||
"*" = [1 2 3 4 5 6 7 8 9];
|
||||
};
|
||||
};
|
||||
tray = {
|
||||
spacing = 10;
|
||||
};
|
||||
clock = {
|
||||
format = " {:%Y.%m.%d %H:%M}";
|
||||
};
|
||||
cpu = {
|
||||
format = " {usage}%";
|
||||
};
|
||||
memory = {
|
||||
format = " {}%";
|
||||
};
|
||||
temperature = {
|
||||
critical-threshold = 80;
|
||||
format = " {temperatureC}°C";
|
||||
};
|
||||
battery = {
|
||||
states = {
|
||||
warning = 30;
|
||||
critical = 15;
|
||||
};
|
||||
|
||||
format = "{icon} {capacity}%";
|
||||
format-full = "{icon} {capacity}%";
|
||||
format-charging = " {icon} {capacity}%";
|
||||
format-plugged = " {capacity}%";
|
||||
format-icons = [" " " " " " " " " "];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Setup and enable hyprland
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
@ -285,7 +182,7 @@ in {
|
||||
"wl-paste --type text --watch cliphist store" # Stores only text data
|
||||
"wl-paste --type image --watch cliphist store" # Stores only image data
|
||||
"keepassxc" # Startup my password manager
|
||||
"waybar" # Start waybar on start
|
||||
"ags run" # Start ags on start
|
||||
];
|
||||
|
||||
monitor = [
|
||||
|
@ -58,13 +58,8 @@
|
||||
enableTreesitter = true;
|
||||
enableFormat = true;
|
||||
|
||||
css = {
|
||||
enable = true;
|
||||
format.enable = true;
|
||||
};
|
||||
ts = {
|
||||
enable = true;
|
||||
format.enable = true;
|
||||
};
|
||||
nix = {
|
||||
enable = true;
|
||||
@ -88,14 +83,6 @@
|
||||
indentscope.enable = true;
|
||||
bufremove.enable = true;
|
||||
git.enable = true;
|
||||
hipatterns = {
|
||||
enable = true;
|
||||
setupOpts = {
|
||||
highlighters = {
|
||||
hex_color = lib.generators.mkLuaInline "require('mini.hipatterns').gen_highlighter.hex_color()";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Use telescope
|
||||
|
Loading…
x
Reference in New Issue
Block a user