new waybar style
This commit is contained in:
parent
35cef3a145
commit
1577ce4a23
@ -135,7 +135,15 @@
|
|||||||
openssl
|
openssl
|
||||||
fastfetch
|
fastfetch
|
||||||
polkit_gnome
|
polkit_gnome
|
||||||
|
gcc
|
||||||
|
blueman
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.steam = {
|
||||||
|
enable = true;
|
||||||
|
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
||||||
|
|
||||||
|
};
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
systemd.user.services.polkit-gnome-authentication-agent-1 = {
|
systemd.user.services.polkit-gnome-authentication-agent-1 = {
|
||||||
description = "polkit-gnome-authentication-agent-1";
|
description = "polkit-gnome-authentication-agent-1";
|
||||||
|
|||||||
@ -18,6 +18,10 @@
|
|||||||
# want to update the value, then make sure to first check the Home Manager
|
# want to update the value, then make sure to first check the Home Manager
|
||||||
# release notes.
|
# release notes.
|
||||||
programs.bash.enable = true;
|
programs.bash.enable = true;
|
||||||
|
programs.bash.bashrcExtra = ''
|
||||||
|
"fastfetch"
|
||||||
|
'';
|
||||||
|
|
||||||
home.stateVersion = "24.05"; # Please read the comment before changing.
|
home.stateVersion = "24.05"; # Please read the comment before changing.
|
||||||
home.shell.enableShellIntegration = true;
|
home.shell.enableShellIntegration = true;
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
|
|||||||
@ -12,10 +12,14 @@
|
|||||||
|
|
||||||
servers = {
|
servers = {
|
||||||
bashls.enable = true;
|
bashls.enable = true;
|
||||||
clangd = {
|
clangd.package = null;
|
||||||
package = null;
|
clangd.enable = true;
|
||||||
enable = true;
|
clangd.cmd = [
|
||||||
};
|
"clangd"
|
||||||
|
"--background-index"
|
||||||
|
"--query-driver=${pkgs.clang}/bin/clang++"
|
||||||
|
"--query-driver=${pkgs.clang}/bin/clang"
|
||||||
|
];
|
||||||
nixd.enable = true;
|
nixd.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -22,12 +22,25 @@
|
|||||||
{
|
{
|
||||||
type = "text";
|
type = "text";
|
||||||
val = [
|
val = [
|
||||||
" ██████╗ █████╗ ██╗ ██╗██╗ ██╗██╗███╗ ███╗"
|
"⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿"
|
||||||
" ██╔════╝ ██╔══██╗╚██╗ ██╔╝██║ ██║██║████╗ ████║"
|
"⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⣠⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿"
|
||||||
" ██║ ███╗███████║ ╚████╔╝ ██║ ██║██║██╔████╔██║"
|
"⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣡⣾⣿⣿⣿⣿⣿⢿⣿⣿⣿⣿⣿⣿⣟⠻⣿⣿⣿⣿⣿⣿⣿⣿"
|
||||||
" ██║ ██║██╔══██║ ╚██╔╝ ╚██╗ ██╔╝██║██║╚██╔╝██║"
|
"⣿⣿⣿⣿⣿⣿⣿⣿⡿⢫⣷⣿⣿⣿⣿⣿⣿⣿⣾⣯⣿⡿⢧⡚⢷⣌⣽⣿⣿⣿⣿⣿⣶⡌⣿⣿⣿⣿⣿⣿"
|
||||||
" ╚██████╔╝██║ ██║ ██║ ╚████╔╝ ██║██║ ╚═╝ ██║"
|
"⣿⣿⣿⣿⣿⣿⣿⣿⠇⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣮⣇⣘⠿⢹⣿⣿⣿⣿⣿⣻⢿⣿⣿⣿⣿⣿"
|
||||||
" ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝"
|
"⣿⣿⣿⣿⣿⣿⣿⣿⠀⢸⣿⣿⡇⣿⣿⣿⣿⣿⣿⣿⣿⡟⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⣻⣿⣿⣿⣿"
|
||||||
|
"⣿⣿⣿⣿⣿⣿⣿⡇⠀⣬⠏⣿⡇⢻⣿⣿⣿⣿⣿⣿⣿⣷⣼⣿⣿⣸⣿⣿⣿⣿⣿⣿⣿⣿⣿⢻⣿⣿⣿⣿"
|
||||||
|
"⣿⣿⣿⣿⣿⣿⣿⠀⠈⠁⠀⣿⡇⠘⡟⣿⣿⣿⣿⣿⣿⣿⣿⡏⠿⣿⣟⣿⣿⣿⣿⣿⣿⣿⣿⣇⣿⣿⣿⣿"
|
||||||
|
"⣿⣿⣿⣿⣿⣿⡏⠀⠀⠐⠀⢻⣇⠀⠀⠹⣿⣿⣿⣿⣿⣿⣩⡶⠼⠟⠻⠞⣿⡈⠻⣟⢻⣿⣿⣿⣿⣿⣿⣿"
|
||||||
|
"⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀⢿⠀⡆⠀⠘⢿⢻⡿⣿⣧⣷⢣⣶⡃⢀⣾⡆⡋⣧⠙⢿⣿⣿⣟⣿⣿⣿⣿"
|
||||||
|
"⣿⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⡥⠂⡐⠀⠁⠑⣾⣿⣿⣾⣿⣿⣿⡿⣷⣷⣿⣧⣾⣿⣿⣿⣿⣿⣿⣿"
|
||||||
|
"⣿⣿⡿⣿⣍⡴⠆⠀⠀⠀⠀⠀⠀⠀⠀⣼⣄⣀⣷⡄⣙⢿⣿⣿⣿⣿⣯⣶⣿⣿⢟⣾⣿⣿⢡⣿⣿⣿⣿⣿"
|
||||||
|
"⣿⡏⣾⣿⣿⣿⣷⣦⠀⠀⠀⢀⡀⠀⠀⠠⣭⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⣡⣾⣿⣿⢏⣾⣿⣿⣿⣿⣿"
|
||||||
|
"⣿⣿⣿⣿⣿⣿⣿⣿⡴⠀⠀⠀⠀⠀⠠⠀⠰⣿⣿⣿⣷⣿⠿⠿⣿⣿⣭⡶⣫⠔⢻⢿⢇⣾⣿⣿⣿⣿⣿⣿"
|
||||||
|
"⣿⣿⣿⡿⢫⣽⠟⣋⠀⠀⠀⠀⣶⣦⠀⠀⠀⠈⠻⣿⣿⣿⣾⣿⣿⣿⣿⡿⣣⣿⣿⢸⣾⣿⣿⣿⣿⣿⣿⣿"
|
||||||
|
"⡿⠛⣹⣶⣶⣶⣾⣿⣷⣦⣤⣤⣀⣀⠀⠀⠀⠀⠀⠀⠉⠛⠻⢿⣿⡿⠫⠾⠿⠋⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿"
|
||||||
|
"⢀⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣀⡆⣠⢀⣴⣏⡀⠀⠀⠀⠉⠀⠀⢀⣠⣰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿"
|
||||||
|
"⠿⠛⠛⠛⠛⠛⠛⠻⢿⣿⣿⣿⣿⣯⣟⠷⢷⣿⡿⠋⠀⠀⠀⠀⣵⡀⢠⡿⠋⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿"
|
||||||
|
"⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠛⢿⣿⣿⠂⠀⠀⠀⠀⠀⢀⣽⣿⣿⣿⣿⣿⣿⣿⣍⠛⠿⣿⣿⣿⣿⣿⣿"
|
||||||
];
|
];
|
||||||
opts = {
|
opts = {
|
||||||
position = "center";
|
position = "center";
|
||||||
@ -43,7 +56,7 @@
|
|||||||
val = [
|
val = [
|
||||||
{
|
{
|
||||||
type = "button";
|
type = "button";
|
||||||
val = " new file";
|
val = " new file ";
|
||||||
on_press.__raw = "function() vim.cmd[[ene]] end";
|
on_press.__raw = "function() vim.cmd[[ene]] end";
|
||||||
opts = {
|
opts = {
|
||||||
position = "center";
|
position = "center";
|
||||||
@ -56,7 +69,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "button";
|
type = "button";
|
||||||
val = " search files";
|
val = " search files ";
|
||||||
on_press.__raw = "function() vim.cmd[[Telescope find_files]] end";
|
on_press.__raw = "function() vim.cmd[[Telescope find_files]] end";
|
||||||
opts = {
|
opts = {
|
||||||
position = "center";
|
position = "center";
|
||||||
@ -69,7 +82,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "button";
|
type = "button";
|
||||||
val = " live grep";
|
val = " live grep ";
|
||||||
on_press.__raw = "function() vim.cmd[[Telescope live_grep]] end";
|
on_press.__raw = "function() vim.cmd[[Telescope live_grep]] end";
|
||||||
opts = {
|
opts = {
|
||||||
position = "center";
|
position = "center";
|
||||||
@ -82,7 +95,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
type = "button";
|
type = "button";
|
||||||
val = " quit neovim";
|
val = " quit neovim ";
|
||||||
on_press.__raw = "function() vim.cmd[[qa]] end";
|
on_press.__raw = "function() vim.cmd[[qa]] end";
|
||||||
opts = {
|
opts = {
|
||||||
position = "center";
|
position = "center";
|
||||||
@ -104,7 +117,11 @@
|
|||||||
settings = {
|
settings = {
|
||||||
pickers = {
|
pickers = {
|
||||||
find_files = {
|
find_files = {
|
||||||
find_command = [ "fd" "--unrestricted" "--no-ignore" ];
|
find_command = [
|
||||||
|
"fd"
|
||||||
|
"--unrestricted"
|
||||||
|
"--no-ignore"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
defaults = {
|
defaults = {
|
||||||
@ -118,7 +135,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
lualine = {
|
lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@ -138,14 +154,16 @@
|
|||||||
lualine_a = [ "mode" ];
|
lualine_a = [ "mode" ];
|
||||||
lualine_b = [ "branch" ];
|
lualine_b = [ "branch" ];
|
||||||
lualine_c = [ "filename" ];
|
lualine_c = [ "filename" ];
|
||||||
lualine_x = [ "diagnostics" "filetype" ];
|
lualine_x = [
|
||||||
|
"diagnostics"
|
||||||
|
"filetype"
|
||||||
|
];
|
||||||
lualine_y = [ "progress" ];
|
lualine_y = [ "progress" ];
|
||||||
lualine_z = [ "location" ];
|
lualine_z = [ "location" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
bufferline.enable = true;
|
bufferline.enable = true;
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -18,8 +18,6 @@
|
|||||||
dconf
|
dconf
|
||||||
fd
|
fd
|
||||||
ripgrep
|
ripgrep
|
||||||
gnumake
|
|
||||||
stlink
|
|
||||||
];
|
];
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -30,6 +28,104 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
programs.spicetify.enable = true;
|
programs.spicetify.enable = true;
|
||||||
|
programs.fastfetch = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
logo = {
|
||||||
|
source = "~/.config/fastfetch/logo.txt";
|
||||||
|
};
|
||||||
|
display = {
|
||||||
|
separator = " ";
|
||||||
|
};
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
type = "title";
|
||||||
|
key = "User";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "os";
|
||||||
|
key = "OS";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "kernel";
|
||||||
|
key = "Kernel";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "packages";
|
||||||
|
key = "Packages";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "cpu";
|
||||||
|
key = "CPU";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "gpu";
|
||||||
|
key = "GPU";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "memory";
|
||||||
|
key = "Memory";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "disk";
|
||||||
|
key = "Disk";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "display";
|
||||||
|
key = "Resolution";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "custom";
|
||||||
|
text = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "shell";
|
||||||
|
key = "Shell";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.foot = {
|
programs.foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
108
home/waybar.nix
108
home/waybar.nix
@ -5,68 +5,67 @@
|
|||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
style = ''
|
style = ''
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "0xProto Nerd Font Propo";
|
font-family: "0xProto Nerd Font Propo";
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: @base00;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
background-color: transparent;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
all: unset;
|
all: unset;
|
||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
color: alpha(@base05, 0.5);
|
color: alpha(@base05, 0.5);
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
color: @base00;
|
color: @base05;
|
||||||
background-color: @base05;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background-color: @base00;
|
background-color: @base00;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
}
|
}
|
||||||
#mpris,
|
#mpris,
|
||||||
#backlight,
|
#backlight,
|
||||||
#tray,
|
#tray,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#window,
|
#window,
|
||||||
#upower,
|
#upower,
|
||||||
#clock,
|
#clock,
|
||||||
#power-profiles-daemon {
|
#power-profiles-daemon {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 2px 14px;
|
padding: 2px 2px;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
background-color: @base00;
|
background-color: @base00;
|
||||||
color: @base05;
|
color: @base05;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
#tray {
|
||||||
padding: 0px 6px 0px 6px;
|
padding: 0px 8px 0px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.empty #window {
|
window#waybar.empty #window {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
#custom-sep {
|
||||||
|
color: alpha(@base05, 0.5);
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
margin-top = 5;
|
spacing = 0;
|
||||||
margin-right = 5;
|
|
||||||
margin-left = 5;
|
|
||||||
spacing = 5;
|
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
"hyprland/window"
|
"hyprland/window"
|
||||||
@ -74,13 +73,20 @@
|
|||||||
];
|
];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"backlight"
|
"backlight"
|
||||||
|
"custom/sep"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
|
"custom/sep"
|
||||||
"upower"
|
"upower"
|
||||||
|
"custom/sep"
|
||||||
"power-profiles-daemon"
|
"power-profiles-daemon"
|
||||||
|
"custom/sep"
|
||||||
"clock"
|
"clock"
|
||||||
|
"custom/sep"
|
||||||
"tray"
|
"tray"
|
||||||
];
|
];
|
||||||
|
"custom/sep" = {
|
||||||
|
format = " | ";
|
||||||
|
};
|
||||||
"mpris" = {
|
"mpris" = {
|
||||||
player = "spotify";
|
player = "spotify";
|
||||||
format = "{title} - {artist}";
|
format = "{title} - {artist}";
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnable = true;
|
autoEnable = true;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-hard.yaml";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
image = ./home/wallpaper.png;
|
image = ./home/wallpaper.png;
|
||||||
fonts = {
|
fonts = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user