style
This commit is contained in:
parent
5b70bf8480
commit
06c10b7a32
@ -21,7 +21,7 @@
|
|||||||
"custom/battery",
|
"custom/battery",
|
||||||
"custom/pomodoro",
|
"custom/pomodoro",
|
||||||
"custom/bluetooth",
|
"custom/bluetooth",
|
||||||
"custom/media",
|
"custom/ScrollMPRIS",
|
||||||
"pulseaudio",
|
"pulseaudio",
|
||||||
"custom/language",
|
"custom/language",
|
||||||
"custom/userhost",
|
"custom/userhost",
|
||||||
@ -65,8 +65,16 @@
|
|||||||
"interval": 5,
|
"interval": 5,
|
||||||
"return-type": "text",
|
"return-type": "text",
|
||||||
},
|
},
|
||||||
|
"custom/ScrollMPRIS": {
|
||||||
|
"name": "custom-scrollmedia",
|
||||||
|
"return-type": "json",
|
||||||
|
"exec": "ScrollMPRIS -s 50 -w 40 --scroll wrapping --format '{title} - {artist}'",
|
||||||
|
"on-click": "playerctl play-pause",
|
||||||
|
"on-click-right": "playerctl next",
|
||||||
|
"on-middle-click": "playerctl previous",
|
||||||
|
},
|
||||||
"custom/media": {
|
"custom/media": {
|
||||||
"exec": "playerctl metadata --format '{{title}} - {{artist}}'",
|
"exec": "playerctl metadata --format '{{title}} - {{artist}}' | cut -c -30",
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"on-click": "playerctl play-pause",
|
"on-click": "playerctl play-pause",
|
||||||
"on-click-right": "playerctl next",
|
"on-click-right": "playerctl next",
|
||||||
|
|||||||
@ -39,6 +39,7 @@ window#waybar {
|
|||||||
#custom-cpu_temp,
|
#custom-cpu_temp,
|
||||||
#custom-bluetooth,
|
#custom-bluetooth,
|
||||||
#custom-media,
|
#custom-media,
|
||||||
|
#custom-scrollmedia,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#custom-pomodoro,
|
#custom-pomodoro,
|
||||||
#custom-language,
|
#custom-language,
|
||||||
@ -57,7 +58,7 @@ window#waybar {
|
|||||||
color: #81C784;
|
color: #81C784;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-media {
|
#custom-media, #custom-scrollmedia {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -9,51 +9,51 @@
|
|||||||
home.packages = with pkgs; [ ];
|
home.packages = with pkgs; [ ];
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
user.name = "thek4n";
|
user.name = "thek4n";
|
||||||
user.email = "thek4n@yandex.ru";
|
user.email = "thek4n@yandex.ru";
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
pull.rebase = false;
|
pull.rebase = false;
|
||||||
core.editor = "nvim";
|
core.editor = "nvim";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/sway".source = ./configs/.config/sway;
|
".config/sway".source = ./configs/.config/sway;
|
||||||
".config/swaylock".source = ./configs/.config/swaylock;
|
".config/swaylock".source = ./configs/.config/swaylock;
|
||||||
".config/waybar".source = ./configs/.config/waybar;
|
".config/waybar".source = ./configs/.config/waybar;
|
||||||
".config/mako".source = ./configs/.config/mako;
|
".config/mako".source = ./configs/.config/mako;
|
||||||
".config/kanshi".source = ./configs/.config/kanshi;
|
".config/kanshi".source = ./configs/.config/kanshi;
|
||||||
".config/rofi".source = ./configs/.config/rofi;
|
".config/rofi".source = ./configs/.config/rofi;
|
||||||
".config/tmux".source = ./configs/.config/tmux;
|
".config/tmux".source = ./configs/.config/tmux;
|
||||||
".config/alacritty".source = ./configs/.config/alacritty;
|
".config/alacritty".source = ./configs/.config/alacritty;
|
||||||
".config/nvim".source = ./configs/.config/nvim;
|
".config/nvim".source = ./configs/.config/nvim;
|
||||||
".config/zsh".source = ./configs/.config/zsh;
|
".config/zsh".source = ./configs/.config/zsh;
|
||||||
".config/git".source = ./configs/.config/git;
|
".config/git".source = ./configs/.config/git;
|
||||||
".config/mimeapps.list".source = ./configs/.config/mimeapps.list;
|
".config/mimeapps.list".source = ./configs/.config/mimeapps.list;
|
||||||
".config/terminal-colors.d".source = ./configs/.config/terminal-colors.d;
|
".config/terminal-colors.d".source = ./configs/.config/terminal-colors.d;
|
||||||
".zshenv".source = ./configs/.zshenv;
|
".zshenv".source = ./configs/.zshenv;
|
||||||
".editorconfig".source = ./configs/.editorconfig;
|
".editorconfig".source = ./configs/.editorconfig;
|
||||||
".editrc".source = ./configs/.editrc;
|
".editrc".source = ./configs/.editrc;
|
||||||
".gnupg".source = ./configs/.gnupg;
|
".gnupg".source = ./configs/.gnupg;
|
||||||
".infokey".source = ./configs/.infokey;
|
".infokey".source = ./configs/.infokey;
|
||||||
".inputrc".source = ./configs/.inputrc;
|
".inputrc".source = ./configs/.inputrc;
|
||||||
".lesskey".source = ./configs/.lesskey;
|
".lesskey".source = ./configs/.lesskey;
|
||||||
".local/bin".source = ./configs/.local/bin;
|
".local/bin".source = ./configs/.local/bin;
|
||||||
".docker".source = ./configs/.docker;
|
".docker".source = ./configs/.docker;
|
||||||
".mozilla".source = ./configs/.mozilla;
|
".mozilla".source = ./configs/.mozilla;
|
||||||
".tmux/landing".source = ./configs/.tmux/landing;
|
".tmux/landing".source = ./configs/.tmux/landing;
|
||||||
".tmux/ssh".source = ./configs/.tmux/ssh;
|
".tmux/ssh".source = ./configs/.tmux/ssh;
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./modules/yazi.nix
|
./modules/yazi.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -40,15 +40,7 @@
|
|||||||
|
|
||||||
programs.firefox.enable = true;
|
programs.firefox.enable = true;
|
||||||
|
|
||||||
services.greetd = {
|
services.getty.autologinUser = username;
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
default_session = {
|
|
||||||
command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd sway";
|
|
||||||
user = "greeter";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.gpm.enable = true;
|
services.gpm.enable = true;
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
{ config, pkgs, inputs, lib, hostname, username, ... }:
|
{ config, pkgs, inputs, lib, hostname, username, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/user-services/mpv.nix
|
../../modules/user-services/mpv.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
linger = true;
|
linger = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user