mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
updated afk-cmds pkg
removed AFKCommands moved moonfly plugin to correct location switched from alacritty to st
This commit is contained in:
parent
ca947d62b9
commit
f353281d6b
12 changed files with 107 additions and 301 deletions
|
|
@ -1,34 +0,0 @@
|
|||
{
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
font.size = 9;
|
||||
colors = {
|
||||
primary = {
|
||||
background = "0x000000";
|
||||
foreground = "0xa9b1d6";
|
||||
};
|
||||
normal = {
|
||||
black = "0x32344a";
|
||||
red = "0xf7768e";
|
||||
green = "0x9ece6a";
|
||||
yellow = "0xe0af68";
|
||||
blue = "0x7aa2f7";
|
||||
magenta = "0xad8ee6";
|
||||
cyan = "0x449dab";
|
||||
white = "0x787c99";
|
||||
};
|
||||
bright = {
|
||||
black = "0x444b6a";
|
||||
red = "0xff7a93";
|
||||
green = "0xb9f27c";
|
||||
yellow = "0xff9e64";
|
||||
blue = "0x7da6ff";
|
||||
magenta = "0xbb9af7";
|
||||
cyan = "0x0db9d7";
|
||||
white = "0xacb0d0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>utilities-terminal</icon>
|
||||
<name>Open Terminal Here</name>
|
||||
<unique-id>1651604010244754-1</unique-id>
|
||||
<command>alacritty --working-directory %f </command>
|
||||
<description>Example for a custom action</description>
|
||||
<patterns>*</patterns>
|
||||
<startup-notify/>
|
||||
<directories/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>folder</icon>
|
||||
<name>Root</name>
|
||||
<unique-id>1651640324751320-1</unique-id>
|
||||
<command>qsudo thunar %f</command>
|
||||
<description></description>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>org.xfce.catfish</icon>
|
||||
<name>Search</name>
|
||||
<unique-id>1651908115751880-1</unique-id>
|
||||
<command>catfish --path=%f</command>
|
||||
<description></description>
|
||||
<patterns>*</patterns>
|
||||
<directories/>
|
||||
</action>
|
||||
</actions>
|
||||
|
|
@ -3,7 +3,7 @@ configuration{
|
|||
lines: 5;
|
||||
show-icons: true;
|
||||
icon-theme: "Flat-Remix-Blue-Dark";
|
||||
terminal: "alacritty";
|
||||
terminal: "st";
|
||||
drun-display-format: "{name}";
|
||||
location: 0;
|
||||
disable-history: false;
|
||||
|
|
|
|||
|
|
@ -1,109 +0,0 @@
|
|||
configuration {
|
||||
show-icons: true;
|
||||
icon-theme: "Flat-Remix-Blue-Dark";
|
||||
disable-history: true;
|
||||
fullscreen: false;
|
||||
hide-scrollbar: true;
|
||||
sidebar-mode: false;
|
||||
display-window: "";
|
||||
window-format : "{t}";
|
||||
window-thumbnail: false;
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: #000000;
|
||||
black: #000000;
|
||||
text-color: #7AA2F7;
|
||||
blue: #7AA2F7;
|
||||
deepblue: #03339c;
|
||||
clear: #00000000;
|
||||
font: "Overpass 16";
|
||||
}
|
||||
|
||||
window {
|
||||
border: 0px;
|
||||
border-color: @deepblue;
|
||||
border-radius: 20px;
|
||||
height: 18.8%;
|
||||
location: center;
|
||||
x-offset: 0;
|
||||
y-offset: 0;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: false;
|
||||
padding: 0.25% 0.75% 0% -0.25%;
|
||||
}
|
||||
|
||||
entry {
|
||||
enabled: false;
|
||||
placeholder-color: @blue;
|
||||
expand: false;
|
||||
horizontal-align: 0;
|
||||
placeholder: "Switch to...";
|
||||
padding: 0% 0% 0% 0%;
|
||||
blink: true;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
enabled: false;
|
||||
children: [ prompt, entry];
|
||||
expand: false;
|
||||
border: 0.3% 0% 0.3% 0%;
|
||||
border-radius: 100%;
|
||||
border-color: @deepblue;
|
||||
margin: 0% 0% 0% 0%;
|
||||
}
|
||||
|
||||
listview {
|
||||
margin: 0.3% 0% 0% 0%;
|
||||
columns: 6;
|
||||
row: 1;
|
||||
spacing: 1%;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
fixed-height : true;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
border: 0% 0% 0% 0%;
|
||||
border-radius: 0% 0% 0% 0%;
|
||||
border-color: @accent;
|
||||
children: [ inputbar, listview];
|
||||
spacing: -100%;
|
||||
padding: 1.5% 1% 1% 1%;
|
||||
}
|
||||
|
||||
element {
|
||||
orientation: vertical;
|
||||
border-radius: 100px;
|
||||
padding: 2% 0% 0% 0%;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 100px;
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
expand: false;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.9;
|
||||
margin: 1% 0.5% 0.7% 0.5%;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @deepblue;
|
||||
border: 3px;
|
||||
border-radius: 15px;
|
||||
border-color: @deepblue;
|
||||
}
|
||||
|
||||
element-text, element-icon, element {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
listview, element, element selected, element-icon, element-text {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
@ -6,7 +6,6 @@
|
|||
./sxhkd.nix
|
||||
./rofi.nix
|
||||
./polybar.nix
|
||||
./alacritty.nix
|
||||
./theme.nix
|
||||
./picom.nix
|
||||
./git.nix
|
||||
|
|
|
|||
|
|
@ -1,4 +1,19 @@
|
|||
{pkgs, ... }:
|
||||
|
||||
let
|
||||
vim-moonfly = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "vim-moonfly";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "bluz71";
|
||||
repo = "vim-moonfly-colors";
|
||||
rev = "065c99b95355b33dfaa05bde11ad758e519b04a3";
|
||||
sha256 = "sha256-TEYN8G/VNxitpPJPM7+O9AGLm6V7bPkiTlFG5op55pI=";
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
|
|
@ -8,48 +23,48 @@
|
|||
extraPackages = with pkgs; [gcc ripgrep fd];
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
(nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars)) #syntax highlighting
|
||||
rainbow nvim-ts-rainbow # rainbow for tree-sitter
|
||||
nvim-colorizer-lua # colors
|
||||
nvim-tree-lua # file browser
|
||||
nvim-web-devicons # for tree-lua
|
||||
vim-smoothie #smooth scrolling
|
||||
undotree # better undotree
|
||||
indentLine # indentlines
|
||||
vim-smoothie #smooth scrolling
|
||||
#non-trash auto completion
|
||||
nvim-cmp
|
||||
cmp-buffer
|
||||
cmp-nvim-lsp
|
||||
cmp-path
|
||||
cmp-spell
|
||||
cmp-treesitter
|
||||
cmp-vsnip
|
||||
vim-vsnip
|
||||
lspkind-nvim
|
||||
nvim-lspconfig
|
||||
nvim-autopairs # auto brackets
|
||||
telescope-nvim #search feature
|
||||
telescope-fzy-native-nvim # search plugin
|
||||
gitsigns-nvim #in buffer git blame
|
||||
vim-moonfly #color scheme
|
||||
lightline-vim #bottom bar
|
||||
];
|
||||
rainbow nvim-ts-rainbow # rainbow for tree-sitter
|
||||
nvim-colorizer-lua # colors
|
||||
nvim-tree-lua # file browser
|
||||
nvim-web-devicons # for tree-lua
|
||||
vim-smoothie #smooth scrolling
|
||||
undotree # better undotree
|
||||
indentLine # indentlines
|
||||
vim-smoothie #smooth scrolling
|
||||
#non-trash auto completion
|
||||
nvim-cmp
|
||||
cmp-buffer
|
||||
cmp-nvim-lsp
|
||||
cmp-path
|
||||
cmp-spell
|
||||
cmp-treesitter
|
||||
cmp-vsnip
|
||||
vim-vsnip
|
||||
lspkind-nvim
|
||||
nvim-lspconfig
|
||||
nvim-autopairs # auto brackets
|
||||
telescope-nvim #search feature
|
||||
telescope-fzy-native-nvim # search plugin
|
||||
gitsigns-nvim #in buffer git blame
|
||||
vim-moonfly #color scheme
|
||||
lightline-vim #bottom bar
|
||||
];
|
||||
extraConfig = let
|
||||
luaRequire = module:
|
||||
builtins.readFile (builtins.toString
|
||||
./config
|
||||
+ "/${module}.lua");
|
||||
luaConfig = builtins.concatStringsSep "\n" (map luaRequire [
|
||||
"init"
|
||||
"lspconfig"
|
||||
"nvim-cmp"
|
||||
]);
|
||||
in ''
|
||||
lua << EOF
|
||||
${luaConfig}
|
||||
EOF
|
||||
luaRequire = module:
|
||||
builtins.readFile (builtins.toString
|
||||
./config
|
||||
+ "/${module}.lua");
|
||||
luaConfig = builtins.concatStringsSep "\n" (map luaRequire [
|
||||
"init"
|
||||
"lspconfig"
|
||||
"nvim-cmp"
|
||||
]);
|
||||
in ''
|
||||
lua << EOF
|
||||
${luaConfig}
|
||||
EOF
|
||||
|
||||
'';
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
./theme.nix
|
||||
./git.nix
|
||||
./neovim
|
||||
./alacritty.nix
|
||||
];
|
||||
programs.home-manager.enable = true;
|
||||
home = {
|
||||
|
|
@ -12,10 +11,6 @@
|
|||
homeDirectory = "/root";
|
||||
stateVersion = "22.11";
|
||||
file = {
|
||||
".config/Thunar" = {
|
||||
source = ./config/Thunar;
|
||||
recursive = true;
|
||||
};
|
||||
".config/neofetch/config.conf" = {
|
||||
source = ./config/neofetch/config.conf;
|
||||
recursive = false;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
enable = true;
|
||||
keybindings = {
|
||||
#terminal
|
||||
"super + Return" = "alacritty";
|
||||
"super + Return" = "st";
|
||||
#application launcher
|
||||
"super + @space" = "rofi -show drun";
|
||||
#kill sxhkd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue