mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-23 01:00:32 +01:00
Some firefox and sway stuff
This commit is contained in:
parent
c7032be5eb
commit
920e312a24
|
@ -27,7 +27,7 @@ if vim.g.neovide then
|
||||||
vim.g.neovide_cursor_vfx_mode = "ripple"
|
vim.g.neovide_cursor_vfx_mode = "ripple"
|
||||||
|
|
||||||
vim.g.neovide_cursor_vfx_particle_density = 30.0
|
vim.g.neovide_cursor_vfx_particle_density = 30.0
|
||||||
vim.g.neovide_transparency = 1.0
|
vim.g.neovide_transparency = .8
|
||||||
|
|
||||||
local font_name = "Hack Nerd Font Mono:h"
|
local font_name = "Hack Nerd Font Mono:h"
|
||||||
local font_size = 20
|
local font_size = 20
|
||||||
|
|
|
@ -14,7 +14,7 @@ if getHostname() == "lilith" then
|
||||||
else
|
else
|
||||||
config.font_size = 11
|
config.font_size = 11
|
||||||
end
|
end
|
||||||
config.window_background_opacity = 1
|
config.window_background_opacity = .8
|
||||||
config.keys = {
|
config.keys = {
|
||||||
{
|
{
|
||||||
key = 't',
|
key = 't',
|
||||||
|
@ -117,7 +117,7 @@ end)
|
||||||
|
|
||||||
config.hide_tab_bar_if_only_one_tab = false
|
config.hide_tab_bar_if_only_one_tab = false
|
||||||
config.use_fancy_tab_bar = false
|
config.use_fancy_tab_bar = false
|
||||||
config.text_background_opacity = 1
|
config.text_background_opacity = 0.3
|
||||||
config.enable_scroll_bar = false
|
config.enable_scroll_bar = false
|
||||||
config.enable_tab_bar = true
|
config.enable_tab_bar = true
|
||||||
config.tab_bar_at_bottom = true
|
config.tab_bar_at_bottom = true
|
||||||
|
|
|
@ -110,6 +110,61 @@ with inputs; {
|
||||||
definedAliases = ["@nw"];
|
definedAliases = ["@nw"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"Reddit" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://reddit.com/r/{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
iconUpdateURL = "https://reddit.com/favicon.ico";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
|
definedAliases = ["@r"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"Github Repos" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://github.com/search?q={searchTerms}&type=repositories";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
iconUpdateURL = "https://github.com/favicon.ico";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
|
definedAliases = ["@ghr"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"Github Code" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://github.com/search?q={searchTerms}&type=code";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
iconUpdateURL = "https://github.com/favicon.ico";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
|
definedAliases = ["@ghc"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"Github PRs" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://github.com/search?q={searchTerms}&type=pullrequests";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
iconUpdateURL = "https://github.com/favicon.ico";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
|
definedAliases = ["@ghpr"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"Github Users" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://github.com/search?q={searchTerms}&type=users";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
iconUpdateURL = "https://github.com/favicon.ico";
|
||||||
|
updateInterval = 24 * 60 * 60 * 1000; # every day
|
||||||
|
definedAliases = ["@ghu"];
|
||||||
|
};
|
||||||
|
|
||||||
"Bing".metaData.hidden = true;
|
"Bing".metaData.hidden = true;
|
||||||
"Google".metaData.hidden = true;
|
"Google".metaData.hidden = true;
|
||||||
"DuckDuckGo".metaData.alias = "@ddg";
|
"DuckDuckGo".metaData.alias = "@ddg";
|
||||||
|
|
|
@ -41,7 +41,7 @@ in {
|
||||||
|
|
||||||
pkgs.bitwarden-cli
|
pkgs.bitwarden-cli
|
||||||
|
|
||||||
pkgs.sway
|
pkgs.swayfx
|
||||||
pkgs.sway-contrib.grimshot
|
pkgs.sway-contrib.grimshot
|
||||||
|
|
||||||
pkgs.libnotify
|
pkgs.libnotify
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
};
|
};
|
||||||
gitsigns.enable = true;
|
gitsigns.enable = true;
|
||||||
fugitive.enable = true;
|
fugitive.enable = true;
|
||||||
|
nix-develop.enable = true;
|
||||||
treesitter = {
|
treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
folding = true;
|
folding = true;
|
||||||
|
@ -286,6 +287,12 @@
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>ff";
|
key = "<leader>ff";
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
|
action = "<cmd>Telescope find_files<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>fe";
|
||||||
|
options.silent = true;
|
||||||
action = "<cmd>Telescope file_browser<CR>";
|
action = "<cmd>Telescope file_browser<CR>";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
|
@ -76,7 +76,8 @@
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
# services.xserver.displayManager.gdm.enable = true;
|
||||||
|
services.xserver.displayManager.startx.enable = true;
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
#services.xserver.displayManager.defaultSession = "plasmawayland";
|
#services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||||
# services.xserver.videoDrivers = ["intel"];
|
# services.xserver.videoDrivers = ["intel"];
|
||||||
|
@ -88,10 +89,10 @@
|
||||||
# services.xserver.xkb.options = "eurosign:e,caps:escape";
|
# services.xserver.xkb.options = "eurosign:e,caps:escape";
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
# services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
#sound.enable = true;
|
sound.enable = true;
|
||||||
#hardware.pulseaudio = {
|
#hardware.pulseaudio = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# package = pkgs.pulseaudioFull;
|
# package = pkgs.pulseaudioFull;
|
||||||
|
|
Loading…
Reference in a new issue