seems okay
This commit is contained in:
parent
8781b2d636
commit
cb88e8405e
@ -16,5 +16,5 @@
|
|||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
# Use xanmod kernel
|
# Use xanmod kernel
|
||||||
boot.kernelPackages = pkgs.linuxKernel.kernels.linux_xanmod;
|
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||||
}
|
}
|
@ -1,34 +1,34 @@
|
|||||||
{
|
{
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 32;
|
height = 32;
|
||||||
|
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"custom/launcher"
|
"custom/launcher"
|
||||||
"hyprland/window"
|
"hyprland/window"
|
||||||
];
|
];
|
||||||
modules-center = [ "wlr/workspaces" ];
|
modules-center = [ "wlr/workspaces" ];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
backlight
|
"backlight"
|
||||||
pulseaudio # use pipewire, test needed.
|
"pulseaudio" # use pipewire, test needed.
|
||||||
battery
|
"cpu"
|
||||||
cpu
|
"memory"
|
||||||
memory
|
"tray"
|
||||||
tray
|
"battery"
|
||||||
clock
|
"clock"
|
||||||
"custom/power"
|
"custom/power"
|
||||||
];
|
];
|
||||||
|
|
||||||
pulseaudio = {
|
pulseaudio = {
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
scroll-step = 5;
|
scroll-step = 5;
|
||||||
format = "{icon} {volume}%";
|
format = "{icon} {volume}%";
|
||||||
format-muted = "{icon} {volume}%";
|
format-muted = "{icon} {volume}%";
|
||||||
on-click ="pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
on-click ="pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
default = [""; ""; ""]
|
default = ["" "" ""];
|
||||||
}
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"wlr/workspaces" = {
|
"wlr/workspaces" = {
|
||||||
format = "{icon}";
|
format = "{icon}";
|
||||||
@ -46,37 +46,37 @@
|
|||||||
sort-by-number = true;
|
sort-by-number = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
network = {
|
network = {
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
format-wifi = " {essid}";
|
format-wifi = " {essid}";
|
||||||
format-ethernet = ""
|
format-ethernet = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
backlight = {
|
backlight = {
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
format = " {}%";
|
format = " {}%";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
on-scroll-up = "light -A 5";
|
on-scroll-up = "light -A 5";
|
||||||
on-scroll-down = "light -U 5";
|
on-scroll-down = "light -U 5";
|
||||||
};
|
};
|
||||||
|
|
||||||
battery = {
|
battery = {
|
||||||
states = {
|
states = {
|
||||||
good = 95;
|
good = 95;
|
||||||
warning = 30;
|
warning = 30;
|
||||||
critical = 20
|
critical = 20;
|
||||||
};
|
};
|
||||||
format = "{icon} {capacity}%";
|
format = "{icon} {capacity}%";
|
||||||
format-charging = " {capacity}%";
|
format-charging = " {capacity}%";
|
||||||
format-plugged = " {capacity}%";
|
format-plugged = " {capacity}%";
|
||||||
format-alt = "{time} {icon}";
|
format-alt = "{time} {icon}";
|
||||||
format-icons = [""; ""; ""; ""; ""];
|
format-icons = ["" "" "" "" ""];
|
||||||
};
|
};
|
||||||
|
|
||||||
tray = {
|
tray = {
|
||||||
icon-size = 16;
|
icon-size = 16;
|
||||||
spacing = 10;
|
spacing = 10;
|
||||||
};
|
};
|
||||||
|
|
||||||
clock = {
|
clock = {
|
||||||
format = "{ = %I =%M %p %d/%m/%Y}";
|
format = "{ = %I =%M %p %d/%m/%Y}";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home = {
|
home = {
|
||||||
stateVersion = "23.05"; # Static
|
stateVersion = "23.05"; # Static
|
||||||
username = "GPD User";
|
username = "user";
|
||||||
homeDirectory = "/home/user";
|
homeDirectory = "/home/user";
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
@ -34,7 +34,7 @@
|
|||||||
".config/hypr/hyprland.conf".source = ./files/hyprland.conf;
|
".config/hypr/hyprland.conf".source = ./files/hyprland.conf;
|
||||||
|
|
||||||
# Use flatseal to change permissions.
|
# Use flatseal to change permissions.
|
||||||
".local/share/fonts".source = /run/current-system/sw/share/X11/fonts;
|
#".local/share/fonts".source = /run/current-system/sw/share/X11/fonts;
|
||||||
|
|
||||||
# Fix flatpak fonts
|
# Fix flatpak fonts
|
||||||
".local/share/flatpak/overrides/global".text = ''
|
".local/share/flatpak/overrides/global".text = ''
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
background_opacity = 0.8;
|
background_opacity = "0.8";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user