This commit is contained in:
waveringana 2025-06-16 06:44:50 -04:00
parent d616cdca1f
commit 9dc034ec86
23 changed files with 354 additions and 26 deletions

112
home/regent/home.nix Normal file → Executable file
View file

@ -1,4 +1,4 @@
{ config, pkgs, system, inputs, ... }:
{ config, pkgs, system, inputs, lib, ... }:
{
home.username = "regent";
@ -11,8 +11,38 @@
/*waybar = { doesnt work for some reason
enable = true;
};*/
ghostty.enable = true;
ghostty.flavor = "mocha";
nvim.enable = true;
nvim.flavor = "mocha";
};
programs.ghostty.enable = true;
programs.ghostty.settings = {
font-size = 24;
theme = "catppuccin-mocha";
};
programs.neovim.enable = true;
programs.neovim = {
extraPackages = with pkgs; [
lua-language-server
stylua
ripgrep
];
plugins = with pkgs.vimPlugins; [
lazy-nvim
];
};
home.pointerCursor = {
gtk.enable = true;
package = pkgs.phinger-cursors;
name = "Phinger-cursors-light";
size = 48;
};
programs.waybar = {
enable = true;
style =
@ -46,7 +76,7 @@
* {
font-family: FantasqueSansMono Nerd Font;
font-family: 'Fira Code', monospace;
font-size: 17px;
min-height: 0;
}
@ -55,22 +85,22 @@ window#waybar {
padding: 0px;
margin: 0px;
border: 0px;
background-color:rgb(0, 0, 0);
/*background-color:rgb(0, 0, 0);*/
background-color: @base;
color: @text;
}
window#waybar.empty {
/*window#waybar.empty {
background-color:rgba(255, 255, 255, 0);
}
}*/
#workspaces {
border-radius: 1rem;
margin: 5px;
background-color: @surface0;
margin-left: 1rem;
background-color: rgba(0, 0, 0, 0.21);
}
#workspaces button {
color: @lavender;
border-radius: 1rem;
@ -80,6 +110,7 @@ window#waybar.empty {
#workspaces button.active {
color: @sky;
border-radius: 1rem;
background-color: rgba(255, 255, 255, 0.5);
}
#workspaces button:hover {
@ -95,35 +126,88 @@ window#waybar.empty {
#pulseaudio,
#custom-lock,
#custom-power {
background-color: @surface0;
padding: 0.5rem 1rem;
margin: 5px 0;
color: @text;
}
#clock {
color: @blue;
color: @text;
border-radius: 0px 1rem 1rem 0px;
margin-right: 1rem;
}
'';
settings = {
mainBar = {
layer = "top";
position = "top";
height = 34;
mod = "dock";
exclusive = true;
passthrough = false;
#gtk-layer-shell = true;
height = 0;
output = [
"HDMI-A-1"
"DP-2"
"DP-1"
];
modules-left = [
"sway/workspaces"
];
modules-left = [ "sway/workspaces" ];
modules-center = [ "sway/window" ];
modules-right = [ "clock" ];
modules-right = [
"pulseaudio"
"clock"
];
"sway/workspaces" = {
disable-scroll = true;
sort-by-name = true;
};
tray = {
icon-size = 13;
tooltip = false;
spacing = 10;
};
network = {
format = "󰖩 {essid}";
format-disconnected = "󰖪 disconnected";
};
clock = {
format = " {:%I:%M %p %m/%d} ";
tooltip-format = ''
<big>{:%Y %B}</big>
<tt><small>{calendar}</small></tt>'';
};
pulseaudio = {
format = "{icon} {volume}%";
tooltip = false;
format-muted = " Muted";
on-click = "pamixer -t";
on-scroll-up = "pamixer -i 5";
on-scroll-down = "pamixer -d 5";
scroll-step = 5;
format-icons = {
headphone = "";
hands-free = "";
headset = "";
phone = "";
portable = "";
car = "";
default = [ "" "" "" ];
};
};
"pulseaudio#microphone" = {
format = "{format_source}";
tooltip = false;
format-source = " {volume}%";
format-source-muted = " Muted";
on-click = "pamixer --default-source -t";
on-scroll-up = "pamixer --default-source -i 5";
on-scroll-down = "pamixer --default-source -d 5";
scroll-step = 5;
};
};
};
};