feat: redesign, with onedark theme
This commit is contained in:
parent
00f5075f17
commit
19e72eedb7
12 changed files with 71 additions and 50 deletions
|
@ -1,4 +1,9 @@
|
|||
{ inputs, config, pkgs, ... }: {
|
||||
{ inputs, config, pkgs, lib, ... }:
|
||||
let
|
||||
bgbordercolor = config.lib.stylix.colors.base01;
|
||||
fgbordercolor = config.lib.stylix.colors.base02;
|
||||
in
|
||||
{
|
||||
home.packages =
|
||||
[ inputs.hyprland-qtutils.packages.x86_64-linux.default pkgs.foot ];
|
||||
wayland.windowManager.hyprland = {
|
||||
|
@ -8,6 +13,7 @@
|
|||
package = pkgs.hyprland;
|
||||
plugins = with pkgs.hyprlandPlugins;
|
||||
[
|
||||
hyprbars
|
||||
# hyprexpo
|
||||
# hyprfocus
|
||||
# hycov
|
||||
|
@ -15,6 +21,7 @@
|
|||
# Whether to enable XWayland
|
||||
xwayland.enable = true;
|
||||
settings = {
|
||||
plugins = import ./hyprbars.nix { inherit config; };
|
||||
env = [ "AQ_DRM_DEVICES, /dev/dri/card1:/dev/dri/card0" ];
|
||||
xwayland = { force_zero_scaling = true; };
|
||||
monitor = [
|
||||
|
@ -26,6 +33,8 @@
|
|||
", preferred, auto, 1" # wildcard definition
|
||||
];
|
||||
general = {
|
||||
"col.inactive_border" = lib.mkForce "rgb(${bgbordercolor})";
|
||||
"col.active_border" = lib.mkForce "rgb(${fgbordercolor})";
|
||||
border_size = 1;
|
||||
gaps_in = 2.5;
|
||||
gaps_out = 5;
|
||||
|
|
16
home-manager/stvnliu/hypr/hyprland/hyprbars.nix
Normal file
16
home-manager/stvnliu/hypr/hyprland/hyprbars.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config }: {
|
||||
hyprbars = {
|
||||
bar_height = 38;
|
||||
bar_color = "rgb(1e1e1e)";
|
||||
"col.text" = "ffffff";
|
||||
bar_text_size = 12;
|
||||
bar_text_font = config.desktopFontFullName;
|
||||
bar_button_padding = 12;
|
||||
bar_padding = 10;
|
||||
bar_precedence_over_border = true;
|
||||
hyprbars-button = [
|
||||
"rgb(ffffff), 20, , hyprctl dispatch killactive;"
|
||||
"rgb(ffffff), 20, , hyprctl dispatch fullscreen 2;"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue