forked from extern/nix-config
nix: Formatting
This commit is contained in:
parent
8ec7519765
commit
0fce9844f7
@ -6,6 +6,7 @@
|
|||||||
home-manager.sharedModules = [{
|
home-manager.sharedModules = [{
|
||||||
services.dunst = {
|
services.dunst = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
geometry = "1870x5-25+45";
|
geometry = "1870x5-25+45";
|
||||||
|
@ -4,10 +4,13 @@
|
|||||||
home-manager.sharedModules = [{
|
home-manager.sharedModules = [{
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
package = (pkgs.callPackage ./package/wrapper.nix {
|
package = (pkgs.callPackage ./package/wrapper.nix {
|
||||||
rofi-unwrapped = (pkgs.callPackage ./package/wayland.nix { });
|
rofi-unwrapped = (pkgs.callPackage ./package/wayland.nix { });
|
||||||
});
|
});
|
||||||
|
|
||||||
cycle = false;
|
cycle = false;
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
modi = "drun,filebrowser";
|
modi = "drun,filebrowser";
|
||||||
font = "Noto Sans CJK JP 12";
|
font = "Noto Sans CJK JP 12";
|
||||||
@ -23,6 +26,7 @@
|
|||||||
me-select-entry = "";
|
me-select-entry = "";
|
||||||
me-accept-entry = "MousePrimary";
|
me-accept-entry = "MousePrimary";
|
||||||
};
|
};
|
||||||
|
|
||||||
theme = lib.mkForce ./launchpad.rasi;
|
theme = lib.mkForce ./launchpad.rasi;
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
@ -5,23 +5,28 @@
|
|||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = hyprland.packages."x86_64-linux".waybar-hyprland;
|
package = hyprland.packages."x86_64-linux".waybar-hyprland;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "right";
|
position = "right";
|
||||||
width = 45;
|
width = 45;
|
||||||
spacing = 8;
|
spacing = 8;
|
||||||
|
|
||||||
modules-left = [ "wlr/workspaces" "custom/new-workspace" ];
|
modules-left = [ "wlr/workspaces" "custom/new-workspace" ];
|
||||||
modules-center = [ "hyprland/window" ];
|
modules-center = [ "hyprland/window" ];
|
||||||
modules-right =
|
modules-right =
|
||||||
[ "tray" "wireplumber" "backlight" "battery" "clock" ];
|
[ "tray" "wireplumber" "backlight" "battery" "clock" ];
|
||||||
"tray" = {
|
|
||||||
"icon-size" = 24;
|
tray = {
|
||||||
|
icon-size = 24;
|
||||||
spacing = 8;
|
spacing = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
"hyprland/window" = {
|
"hyprland/window" = {
|
||||||
"rotate" = 90;
|
rotate = 90;
|
||||||
};
|
};
|
||||||
|
|
||||||
"wlr/workspaces" = {
|
"wlr/workspaces" = {
|
||||||
on-click = "activate";
|
on-click = "activate";
|
||||||
sort-by-number = true;
|
sort-by-number = true;
|
||||||
@ -39,25 +44,30 @@
|
|||||||
"10" = "十";
|
"10" = "十";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
wireplumber = {
|
wireplumber = {
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
tooltip-format = "{volume}% {node_name}";
|
tooltip-format = "{volume}% {node_name}";
|
||||||
format-muted = "";
|
format-muted = "";
|
||||||
format-icons = ["" ""];
|
format-icons = ["" ""];
|
||||||
};
|
};
|
||||||
|
|
||||||
battery = {
|
battery = {
|
||||||
"format" = "{icon}";
|
"format" = "{icon}";
|
||||||
"tooltip-format" = "{capacity}% {timeTo}";
|
"tooltip-format" = "{capacity}% {timeTo}";
|
||||||
"format-icons" = ["" "" "" "" ""];
|
"format-icons" = ["" "" "" "" ""];
|
||||||
};
|
};
|
||||||
|
|
||||||
clock = {
|
clock = {
|
||||||
"format" = "{:%H\n%M}";
|
"format" = "{:%H\n%M}";
|
||||||
"tooltip-format" = "<tt>{calendar}</tt>";
|
"tooltip-format" = "<tt>{calendar}</tt>";
|
||||||
};
|
};
|
||||||
|
|
||||||
backlight = {
|
backlight = {
|
||||||
"format" = "{icon}";
|
"format" = "{icon}";
|
||||||
"format-icons" = ["" ""];
|
"format-icons" = ["" ""];
|
||||||
};
|
};
|
||||||
|
|
||||||
"custom/new-workspace" = {
|
"custom/new-workspace" = {
|
||||||
"format" = "+";
|
"format" = "+";
|
||||||
"on-click" = "hyprctl dispatch workspace empty && rofi -show drun";
|
"on-click" = "hyprctl dispatch workspace empty && rofi -show drun";
|
||||||
@ -66,6 +76,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
style = lib.mkForce ''
|
style = lib.mkForce ''
|
||||||
@define-color base00 #272822;
|
@define-color base00 #272822;
|
||||||
@define-color base01 #383830;
|
@define-color base01 #383830;
|
||||||
|
Loading…
Reference in New Issue
Block a user