1
0
forked from extern/nix-config

nix: Formatting

This commit is contained in:
Donovan Glover 2023-05-25 13:08:01 -04:00
parent 8ec7519765
commit 0fce9844f7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 19 additions and 3 deletions

View File

@ -6,6 +6,7 @@
home-manager.sharedModules = [{
services.dunst = {
enable = true;
settings = {
global = {
geometry = "1870x5-25+45";

View File

@ -4,10 +4,13 @@
home-manager.sharedModules = [{
programs.rofi = {
enable = true;
package = (pkgs.callPackage ./package/wrapper.nix {
rofi-unwrapped = (pkgs.callPackage ./package/wayland.nix { });
});
cycle = false;
extraConfig = {
modi = "drun,filebrowser";
font = "Noto Sans CJK JP 12";
@ -23,6 +26,7 @@
me-select-entry = "";
me-accept-entry = "MousePrimary";
};
theme = lib.mkForce ./launchpad.rasi;
};
}];

View File

@ -5,23 +5,28 @@
programs.waybar = {
enable = true;
package = hyprland.packages."x86_64-linux".waybar-hyprland;
settings = {
mainBar = {
layer = "top";
position = "right";
width = 45;
spacing = 8;
modules-left = [ "wlr/workspaces" "custom/new-workspace" ];
modules-center = [ "hyprland/window" ];
modules-right =
[ "tray" "wireplumber" "backlight" "battery" "clock" ];
"tray" = {
"icon-size" = 24;
tray = {
icon-size = 24;
spacing = 8;
};
"hyprland/window" = {
"rotate" = 90;
rotate = 90;
};
"wlr/workspaces" = {
on-click = "activate";
sort-by-number = true;
@ -39,25 +44,30 @@
"10" = "";
};
};
wireplumber = {
format = "{icon}";
tooltip-format = "{volume}% {node_name}";
format-muted = "";
format-icons = ["" ""];
};
battery = {
"format" = "{icon}";
"tooltip-format" = "{capacity}% {timeTo}";
"format-icons" = ["" "" "" "" ""];
};
clock = {
"format" = "{:%H\n%M}";
"tooltip-format" = "<tt>{calendar}</tt>";
};
backlight = {
"format" = "{icon}";
"format-icons" = ["" ""];
};
"custom/new-workspace" = {
"format" = "+";
"on-click" = "hyprctl dispatch workspace empty && rofi -show drun";
@ -66,6 +76,7 @@
};
};
};
style = lib.mkForce ''
@define-color base00 #272822;
@define-color base01 #383830;