changed formater

This commit is contained in:
k
2024-12-23 22:08:45 -05:00
parent 52fbee6322
commit 3995c29b03
18 changed files with 278 additions and 244 deletions

View File

@@ -1,6 +1,9 @@
{ config, pkgs, inputs, ... }:
{
config,
pkgs,
inputs,
...
}: {
# ...
dconf.settings = {
# ...
@@ -22,4 +25,3 @@
gnomeExtensions.search-light
];
}

View File

@@ -1,6 +1,9 @@
{ config, pkgs, inputs, ... }:
{
config,
pkgs,
inputs,
...
}: {
home = {
username = "k";
homeDirectory = "/home/k";
@@ -13,7 +16,7 @@
userName = "k";
userEmail = "markers711@gmail.com";
};
tmux = { enable = true; };
tmux = {enable = true;};
starship.enable = true;
zsh = {
enable = true;
@@ -21,16 +24,18 @@
enableCompletion = true;
syntaxHighlighting.enable = true;
autocd = true;
plugins = [{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}];
plugins = [
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}
];
};
};
}

View File

@@ -1,15 +1,21 @@
{ config, pkgs, inputs, ... }:
{
imports = [ ./waybar.nix ./tile.nix ];
config,
pkgs,
inputs,
...
}: {
imports = [./waybar.nix ./tile.nix];
wayland.windowManager.hyprland = {
enable = true;
systemd.variables = [ "--all" ];
systemd.variables = ["--all"];
xwayland.enable = true;
settings = {
exec-once = [ "${pkgs.hyprpaper}/bin/hyprpaper" "${pkgs.iio-hyprland}/bin/iio-hyprland" ];
exec-once = [
"${pkgs.hyprpaper}/bin/hyprpaper"
"${pkgs.iio-hyprland}/bin/iio-hyprland"
];
monitor = "eDP-1,preferred,auto,1";
general = {
"$mainMod" = "SUPER";
@@ -28,7 +34,7 @@
size = 2;
passes = 2;
brightness = 1;
noise = .3;
noise = 0.3;
new_optimizations = true;
};
drop_shadow = true;
@@ -48,12 +54,8 @@
vrr = 1;
};
input = {
touchpad = {
natural_scroll = true;
};
};
input = {touchpad = {natural_scroll = true;};};
bind = [
# keybindings
"$mainMod, Return, exec, $terminal"
@@ -68,7 +70,6 @@
"$mainMod, up, movefocus, u"
"$mainMod, down, movefocus, d"
# switch workspace
"$mainMod, 1, workspace, 1"
"$mainMod, 2, workspace, 2"
@@ -124,10 +125,9 @@
"$mainMod, mouse:273, resizewindow"
];
windowrule =
[ "float,mpv" "center,mpv" "pin,wofi" "idleinhibit focus,mpv" ];
windowrule = ["float,mpv" "center,mpv" "pin,wofi" "idleinhibit focus,mpv"];
windowrulev2 = [ ];
windowrulev2 = [];
};
};
@@ -141,4 +141,3 @@
_JAVA_AWT_WM_NONREPARENTING = 1;
};
}

View File

@@ -1,7 +1,10 @@
{ config, pkgs, inputs, ... }:
{
imports = [ ./waybar.nix ./tile.nix ];
config,
pkgs,
inputs,
...
}: {
imports = [./waybar.nix ./tile.nix];
wayland.windowManager.sway = {
enable = true;
@@ -29,9 +32,5 @@
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
_JAVA_AWT_WM_NONREPARENTING = 1;
};
services = {
swayidle = { enable = true; };
};
services = {swayidle = {enable = true;};};
}

View File

@@ -1,14 +1,15 @@
{ config, pkgs, inputs, ... }:
{
services = {
mako = { enable = true; };
};
config,
pkgs,
inputs,
...
}: {
services = {mako = {enable = true;};};
programs = {
alacritty = { enable = true; };
alacritty = {enable = true;};
swaylock = {enable = true;};
wofi = { enable = true; };
zathura = { enable = true; };
mpv = { enable = true; };
wofi = {enable = true;};
zathura = {enable = true;};
mpv = {enable = true;};
};
}

View File

@@ -1,4 +1,8 @@
{ config, pkgs, ... }: {
{
config,
pkgs,
...
}: {
programs.waybar = {
enable = true;
systemd.enable = true;
@@ -6,14 +10,14 @@
mainBar = {
layer = "bottom";
position = "bottom";
output = [ "eDP-1" ];
output = ["eDP-1"];
margin-left = 45;
margin-right = 45;
spacing = 15;
modules-left = [ "sway/workspaces" "sway/mode" ];
modules-center = [ "clock" ];
modules-right = [ "pulseaudio" "network" "battery" ];
modules-left = ["sway/workspaces" "sway/mode"];
modules-center = ["clock"];
modules-right = ["pulseaudio" "network" "battery"];
cpu = {
interval = 15;
@@ -38,7 +42,7 @@
phone = " ";
portable = " ";
car = " ";
default = [ " " " " ];
default = [" " " "];
};
scroll-step = 1;
on-click = "pavucontrol";
@@ -66,7 +70,7 @@
battery = {
format = "{capacity}% {icon}";
"format-icons" = [ " " " " " " " " " " ];
"format-icons" = [" " " " " " " " " "];
};
clock = {