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